Coder Social home page Coder Social logo

basic-express-server's Introduction

basic-express-server

server features:

  • /person?name= enter name here : to show entered name.
  • /error500 : to test internal server error.
  • /anything : to test page not found error.

How to run server:

1- by run in local:

  • clone this repo to your local machine.
  • cd to the repo.
  • in terminal run npm install to install backage that used in this server express , dotenv , jest , supertest , nodemon
  • after that run npm index.js ore use nodemon.
  • there is multible way to see result of this server by browser or thunder client .
  • if u want to add feature to this server there is test by jest you can test features with it before add to main.
  • if you see any issue with my server fork my repo with datals and solution if you have it.

2- by use online app for this server by heruku

About this server

  • this server untel now for practice and many features will be added soon.
  • this server contains middleWar way for write functions.
  • this server contain 404 error , 500 eror handler.

basic-express-server's People

Contributors

salehziad 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.