Skip to content

I love to cook and I'm tired of keeping little scraps of paper containing my recipes around my house. This will solve that problem

Notifications You must be signed in to change notification settings

ThomJGregory/cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookbook

Cookbook is a place for me to keep, update, and read my recipes. Coded in MERN stack

Installation

  1. Clone Repository
git clone https://github.com/ThomJGregory/cookbook
  1. Run npm install to install necessary node_modules
npm install
  1. Create .env file in root directory

  2. Within the .env file, add variables for your Node Environment(NODE_ENV), backend server port (PORT), your MongoDB URI (MONGO_URI), and your JWT secret (JWT_SECRET)

NODE_ENV = development
PORT = 5000
MONGO_URI = mongodb+srv://username:password@yourcluster.xxxx.mongodb.net/?retryWrites=true&w=majority
JWT_SECRET = mysecret
  1. To start server:

Node:

npm start

Nodemon:

npm run server
  1. To start client:
npm run client
  1. To run both simultaneously:
npm run dev

Usage

Once the database is connected: Add, View, Edit, and Delete your favorite recipes!

License

MIT

About

I love to cook and I'm tired of keeping little scraps of paper containing my recipes around my house. This will solve that problem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published