Git Product home page Git Product logo

express-app's Introduction


This app show you how Node.js work. In this application, we will show different packages like Express as well as libraries like Mongoose, a database like MongoDB and many other things like sockets. At the end I will make a copy of Twitter.


EXPRESS

FIRST Install Node: https://nodejs.org/en/download/

For dependencies put on your console (bash or zsh is better) :


For change your default console Open Visual Studio Code. Press CTRL + SHIFT + P to open the Command Palette. Search for “Terminal: Select Default Shell” Select your preferred shell on Bash


Initialize npm

npm init

Initialize Express package

npm i express

Initialize ex Jade now Pug

npm i pug

Initialize Morgan Middleware

npm i morgan

NODEMON

npm i nodemon

Or global

npm i -g nodemon

Add script to package.json

"scripts": {
    "start": "nodemon app.js"
  },

and run server with nodemon

npm start

express-app's People

Contributors

faridjadda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.