Step 1 Open terminal then run "npm install" to install dependencies...
Step 2 Make sure you already install successful all dependencies. Then move to database/seeder by comand "cd database/seeder" folder then run following comand
- "node category_seeder"
- "node product_seeder"
- "node user_seeder"
- "node bill_seeder"
- "node blog_seeder"
. After this step, you have faked data...
Step 5 Run "nodemon" at main folder, then open browser, access to "localhost:3000"... That's is Here is client React app https://github.com/dangminhtruong/havana_client
Just simply run folowing steps
Step 1 Open terminal at main folder and run command "docker-compose up -d"
Step 2 Run "docker exec -it havana_web bash"
Step 3 Run "npm install" to install dependences packages
Step 4 Still inside container, move to seeder folder by run "cd databse/seeder/" then run seeder files one by one to fake data
Step 6 The app running at localhost:3000
Here is client React app https://github.com/dangminhtruong/havana_client