to make app work correct :
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
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 :
then
you should create .env file and add
PORT=app port (3006)
REACT_APP_baseUrl= back end url (http:localhost:4000)
then
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