A simple CRUD app that allows users to create public and private stories. Features include:
- Sign up
- Login with Google
- Create, edit, and delete stories
- Mark stories as either public or private
- View stories via dashboard
Authorization implemented using Google OAuth20
Create a CRUD app with protected routes and user authorization
This is a beginner or intermediate application to help understand the simple and slightly complex aspects of building a CRUD app with node
- connect-mongo
- cross-env
- dotenv
- express
- express-handlebars
- express-session
- method-override
- moment
- mongoose
- morgan
- nodemon
- passport
- passport-google-oauth20
- Star and fork this repo
- Clone your forked repo to your local machine
- Install dependencies and packages with the
npm i
command in the terminal - Create a
.env
file and add the following askey: value
pairs:- PORT: 2121 (can be any port - example: 4200)
- DB_STRING:
your database URI
- Have fun 😎