Vaccine Management Application where a logged in user can view, add, update and delete vaccines as well as their respectives allergies.
-
Clone this repository.
git clone https://github.com/arjunbhandari3/vaccine-manager.git
- Go to server folder using
cd server
- Install all the dependencies using
yarn
ornpm install
. - Copy
.env.example
as.env
file usingcp .env.example .env
. Update the environment variables. - Run the migrations using
yarn migrate
and seeds usingyarn seed
. - Start the server using
yarn start:dev
ornpm run start:dev
. - Server will be started on port 8000: http://localhost:8000/
- Go to server folder using
cd app
- Install all the dependencies using
yarn
ornpm install
. - Copy
.env.example
as.env
file usingcp .env.example .env
. Update the environment variables. - Start the server using
yarn start
ornpm run start
. - Server will be started on port 3000: http://localhost:3000/
- Run test cases using
yarn test
ornpm run test
- Run tests with coverage using:
yarn test:coverage
ornpm run test:coverage