Skip to content

tw258/cookbook

Repository files navigation

Cookbook


Create, manage, and share your recipes.
https://tw258.github.io/cookbook

Development

Local Setup

  1. Make sure you have current versions of NodeJS and Docker installed
  2. Clone the repository and navigate into the root directory
  3. Depending on your OS, execute the local-setup.ps1 (Windows) or local-setup.sh (Linux) script
  4. Add your credentials to the newly created .env file

Build and Run Backend Containers (Express App and MongoDB)

$ docker-compose up --build
$ docker-compose up --build --detach # Run containers in the background.

Run Express Backend in Watch Mode (Hot Reload)

$ docker-compose stop cb-backend # Stop backend container (if running).
$ npm install pm2 -g # Install PM2 globally.
$ cd backend
$ npm run watch

Build and Run Angular Frontend (Hot Reload)

$ cd frontend
$ npm run start # Will open the frontend under http://localhost:4200.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •