Skip to content

xEt3/backend-iPost

Repository files navigation

Backend iPost

  • Server Port : 3000 tcp
  • Base de datos oficial: mongodb://localhost:27017/iPost
  • Base de datos testing: mongodb://localhost:27017/testiPost

Dependencies

Install Node dependencies

Nodemon: npm install -g nodemon

Express: npm install express

Body-parser: npm install body-parser

Cors: npm install cors

Mongoose: npm install mongoose

Express-fileupload: npm install express-fileupload

JSON Web Token: npm install jsonwebtoken

Bcryp: npm install bcrypt

Install all dependencies: npm install express body-parser cors mongoose express-fileupload jsonwebtoken bcrypt

Init server

  • Compile js code:

    tsc -w

  • Start mongdb server

    sudo systemctl start mongod/

  • start service

    nodemon dist/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published