Next.js (React) + Redux + Express REST API + MongoDB + Mongoose-Crudify boilerplate
You want an SQL database instead of MongoDB? Check out nextjs-sql-rest-api-boilerplate instead.
Why is this awesome?
How to use
Clone this repository:
git clone https://github.com/tomsoderlund/nextjs-express-mongoose-crudify-boilerplate.git [MY_APP]
cd [MY_APP] yarn # or npm install
Start it by doing the following:
export MONGODB_URI=*your mongodb url* // you can get one for free at https://www.mlab.com/home yarn dev
yarn build yarn start
If you navigate to
http://localhost:3001/ you will see a Next.js page with a list of kittens (or an empty list if you haven't added one).
You have your API server running at
Deploying on Heroku
heroku create [MY_APP] heroku addons:add mongolab git push heroku master
Deploying on Now
See instructions on nextjs-express-boilerplate.