amrmuhamedd / delivery-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

delivery-service

to make app work correct :

server app at dir : server

you should create .env file and add

DataBaseUrl = add your database url (mongodb)

then you should run : ### 'npm install'

after that you need to seed project to create 15 user
run ### 'npm run seed' you will see seed complete at console so you need to start project

run ### 'npm run start'

then you can see swager documentation of api at http://localhost:4000/docs

client todo app at dir : client

you should create .env file and add
PORT=app port (3005)
REACT_APP_baseUrl= back end url (http:localhost:4000)

and then you should run this commands :

npm install

then

npm start

admin app at dir : dashboard

you should create .env file and add
PORT=app port (3006)
REACT_APP_baseUrl= back end url (http:localhost:4000)

npm install

then

npm start

Docker

you first should create .env files on every app

  • server app at dir : server
    you should create .env file and add

    DataBaseUrl = add your database url (mongodb)

  • client todo app at dir : client
    you should create .env file and add
    PORT=app port (3005)

  • admin app at dir : dashboard
    you should create .env file and add
    PORT=app port (3006)
    REACT_APP_baseUrl= back end url (http:localhost:4000)

then you should run
docker-compose up --build -V

About


Languages

Language:TypeScript 84.6%Language:SCSS 7.3%Language:HTML 5.5%Language:JavaScript 1.1%Language:CSS 0.9%Language:Dockerfile 0.6%