/JSChallenge01

Challenge series to resharp javascript coding skills - Here nodejs with Express - simple backend with a lot of concepts like middleware , http verbs , body and url params and so on...

Primary LanguageJavaScript

JS challenge 01 - Nodejs / ExpressJs

Simple Backend wrote using ExpressJS and a lot of key concepts.

  • NOT DATABASE HERE
  • Using Array to save some DATA.
  • Http Verbs.
  • Middleware Global.
  • Middleware Local.
  • ExpressJS configuration.
  • Express Modules.
  • ExpressJS serving JSON.

Entities used here :

Project CRUD Each project have a Id(string) , Title (string) and array of Tasks (string)

Each Task is a string (flat array)

{
    "id":"1",
    "title":"Project Loop"
    "tasks":[
                "Create Docs",
                "Assemble a Team",
                "Start Sprint",
                "Generate Artifacts"
            ]
}

To run this project :

Install dependencies

yarn

Run project (on DEV)

yarn dev

These sample will e used on EstartandoDevs course 2020

| Frederico Bezerra