Skip to content

dangminhtruong/havana

Repository files navigation

In case you clone this project


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"
Step 4 Go to helpers folder and run "node con_job.js" to run application's cron jobs
. After this step, you have faked data...
Step 5 Run "nodemon" at main folder, then open browser, access to "localhost:3000"... That's is
Notice !
Here is client React app https://github.com/dangminhtruong/havana_client

In case you are using Docker


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
  • "node category_seeder"
  • "node product_seeder"
  • "node user_seeder"
  • "node bill_seeder"
  • "node blog_seeder"
  • Step 5 Go to helpers folder and run "node con_job.js" to run application's cron jobs
    Step 6 The app running at localhost:3000
    Notice !
    Here is client React app https://github.com/dangminhtruong/havana_client

    About

    Nodejs and MongoDB FREE E-Commerce Shopping Software

    Topics

    Resources

    License

    Code of conduct

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published