Skip to content

ga-sei-lessons/project-2-oAuth-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 2 oAuth Template

Use this repo as the base for your project 2.

Getting Started

  • clone this repo (no forking needed) and cd into the new directory
  • run rm -rf .git to remove the git history
  • run git init to create a new git history
  • run git add . and git commit -m "init commit" to create the first commit of the repo
  • create a new repo on github and follow the instructions to push an existing repository from the command line
  • run npm i to install the required packages
  • touch a .env file and add the following to it:
DATABASE_URL= < copy mongo uri from atlas / previous project >
GOOGLE_CLIENT_ID= < copy from google cloud devs / previous project >
GOOGLE_SECRET=< copy from google cloud devs / previous project >
GOOGLE_CALLBACK=http://localhost:3000/oauth2callback
SECRET="can be any string"
  • run nodemon to test your app!

Use this readme as your project pitch!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published