Skip to content
This let's you quickly set up a MERN stack Single Page Application, with built in Google oAuth, and a proxy between the front and back end.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
config
controllers
models
node_modules
services
README.md
package-lock.json
package.json
server.js

README.md

MERN-SPA-Starter

This let's you quickly set up a MERN stack project.

What you need to do

Clone the repo then give it one of these bad boys:

npm install

Great! Now let's do these:

cd client

then:

npm install

Great!

What next?

You've gotta set up your dev keys for passport. Go to your google developer console and create a new web app, enable the google+ api, and then copy the keys into ./config/dev.js

You should set your restrictions to the following: photo

Now you've got a project with a NodeJS backend, a React, Redux frontend, built in authentication, and a proxy between the frontend and backend.

GO take over the world now. Start up your environment with:

npm run dev
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.