Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyapeiris authored Nov 24, 2022
1 parent ff9c1d2 commit 95e28ee
Show file tree
Hide file tree
Showing 21 changed files with 4,855 additions and 4,230 deletions.
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dist
node_modules
.vscode
.github
.env
.env.example
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"plugins": ["prettier-plugin-svelte"],
"useTabs": true
}
32 changes: 16 additions & 16 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,61 @@
<a href="https://github.com/acicts/Medica-Client/network/members"><img src="https://img.shields.io/github/forks/acicts/Medica-Client" alt="Forks Badge"/></a>
<a href="https://github.com/acicts/Medica-Client/pulls"><img src="https://img.shields.io/github/issues-pr/acicts/Medica-Client" alt="Pull Requests Badge"/></a>
<a href="https://github.com/acicts/Medica-Client/issues"><img src="https://img.shields.io/github/issues/acicts/Medica-Client" alt="Issues Badge"/></a>
<a href="https://github.com/acicts/Medica-Client/graphs/contributors"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/acicts/Medica-Client?color=2b9348"></a>
<a href="https://github.com/acicts/Medica-Client/graphs/contributors"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/acicts/Medica-Client?color=2b9348"></a>
![CI](https://github.com/acicts/Medica-Client/actions/workflows/node.js.yml/badge.svg)



# Medica

Medica is an open-source project by ACICTS to help people find the medicine they want out of the pharmacies that have registered in the platform.

This repository contains the source code of the users' platform. Following are the links to other repositories.

- [Pharmacists Platform](https://github.com/acicts/Medica-Pharmacist.git)
- [Backend](https://github.com/acicts/Medica-Backend)
- [Pharmacists Platform](https://github.com/acicts/Medica-Pharmacist.git)
- [Backend](https://github.com/acicts/Medica-Backend)

# Technologies used
- Svelte.JS
- TypeScript
- Vite

- Svelte.JS
- TypeScript
- Vite

# How to run the code

First make sure you have the following packages/softwares installed in your machine.
- Node
- Git

- Node
- Git

Then run the following commands.

#### 1. Clone the repository from github
#### 1. Clone the repository from github

```bash
git clone https://github.com/acicts/Medica-Client.git
```

#### 2. Install dependencies

```bash
cd Medica-Client
npm i
```

#### 3. Create a .env file according to the [.env.example](./.env.example ".env.example") file
#### 3. Create a .env file according to the [.env.example](./.env.example '.env.example') file

#### 4. Start the development server

```bash
npm run dev
```

# Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.

# License

[MIT](./LICENSE)
Loading

0 comments on commit 95e28ee

Please sign in to comment.