Skip to content
Sample application for NodeJS RESTful APIs. This includes CRUD operations for User, Posts and favorite functionality as well.
Branch: ep-01
Clone or download
Pull request Compare This branch is even with sbmaggarwal:ep-01.
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.
src Done ep-01 May 17, 2017
.babelrc Done ep-01 May 17, 2017
.editorconfig Done ep-01 May 17, 2017
.eslintrc
.gitignore Done ep-01 May 17, 2017
README.md Done ep-01 May 17, 2017
package.json Done ep-01 May 17, 2017
webpack.config.js Done ep-01 May 17, 2017
yarn.lock Done ep-01 May 17, 2017

README.md

Make a NodeJS rest api

Why do this tutorial

I was searching a long time ago about how to make my own boilerplate for nodejs. I hate when I take something from someone else and don't know what happen.

I create this tutorial for helping people to make their own rest api and maybe use it as your boilerplate

Features

This rest api gonna be for a Medium like website. This is a simple blog place where people can follow author and create a post. People can like the post and get notification when a user they follow create a new one.

  • Authentication local + jwt
  • User can create a post
  • User can delete is own post and update it
  • User can follow an other one
  • User get notification on following new post
  • User can like a post
  • User can see all the post they like

Tech use

I use the latest feature of javascript. ES6 + ES7, we compile with the help of babel and webpack v2.


Part 1, Setup the tools

Video

Link

To add

  • editorconfig
  • express
  • eslint
  • babel
  • webpack 2
You can’t perform that action at this time.