Skip to content

this proyect node js, corsjs, mongoosejs, jsonwebtoken, mongoose-delete, MVC

Notifications You must be signed in to change notification settings

daenerys973/api-rest-jwt

Repository files navigation

api-jwt

Clone this repository

npm install
npm run dev
const express = require('express')
const colors = require('colors')

const app = express()

app.listen(port, () => {

    try {
        console.log(colors.blue(`Server listening successfully on port http://localhost:${port}`))

    } catch (error) {
        console.log(colors.red('Failed to listen on server port:', error))
    }

})

}