Skip to content

mAbadsa/upet-form

Repository files navigation

upet-form

Getting Started 📣

1. You can start by cloning the repository on your local machine by running:

git clone https://github.com/mAbadsa/upet-form.git
cd upet-form

2. Install all of the dependencies:

yarn run project-setup

3. Database Setup: 📋

  1. If you have mongo skip this step. Connect to local mongoDB server

  2. Open your terminal, run mongo:

  • run use <YOUR_DATABASE_NAME>
  1. Install ORM, we will use mongoose

4. Environment variables:🔑

  • create .env file
  • add your Environment variables
    MONGO_DB= # Your mongodb atlas uri
    PORT= # 8080

5. run the app locally:🔌 In the main directory

yarn run run-both

Now the app should be running at http://localhost:8080