You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ruppal Singh b256635da6 Update readme 2 years ago
src Delete a show + build script improvements 2 years ago
views Delete a show + build script improvements 2 years ago
.babelrc Set up JavaScript transpiling from ES2015 and minification 2 years ago
.editorconfig Add eslint to the build process 2 years ago
.eslintrc.json Turn off no-console rule 2 years ago
.gitignore Add eslint to the build process 2 years ago
.nvmrc Specify node version for nvm 2 years ago
README.md Update readme 2 years ago
app.js Delete a show + build script improvements 2 years ago
package-lock.json Add eslint to the build process 2 years ago
package.json Delete a show + build script improvements 2 years ago

README.md

learn-nem

Absolute minimal walkthrough of Node, Express and MongoDB.

Objective

The objective was to build a good-for-nothing app to learn more about:

  • Basics of using Node and Express & its middleware
  • Basics of MongoDB
  • Using npm as a build-tool rather than gulp etc.
  • Basic configuration of tools like eslint, babel and editorconfig.

Demo

  • Get the repo.
git clone git@github.com:ruppalsingh/learn-nem.git learn-nem
  • Switch Node version (if you’re using nvm):
nvm use
  • Install the dependencies.
npm i        // shorthand for npm install
  • Start the project.
npm run start
  • Navigate to localhost:3000.

Developing

Run npm run build and npm run server.

Resources used

Note: not an exhaustive list.