serg-rsv / team-project-care-pets

https://sk-care-pets.netlify.app/
3 stars 0 forks source link

team-project-care-pets

Installation

Requirements:

Before starting the backend server, configure the environment variables in the directory backend\config\.env according to .env.example Key Value
PORT Running the backend server port
CONNECT_DB_URI Your connection string to DB
SECRET_JWT Random string for creating jwt token
CLOUDINARY_API_KEY Access key to cloudinary
CLOUDINARY_API_SECRET Secret to api key

Install the dependencies and devDependencies and start the backend server.

npm i
npm start

Open second Terminal. Install the dependencies and devDependencies and start the frontend server.

cd frontend
npm i
npm start

Development

Want to contribute? Great!

Open your favorite Terminal and run these commands.

First Tab:

npm run back

Second Tab:

npm run dev