Skip to content

KariNarhi/mean-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEAN stack tutorial

MongoDB, Express, Angular, Node.js

The API uses JWT (JSON Web Token) for registering users into MongoDB and authenticating the users. App uses Passport + Passport-JWT and JWT Strategy.


Usage (so far):

npm install to install dependencies.

npm start for starting the Node.js/Express server backend.

npm run dev for the Angular Front-end

ng build (output directory is the public folder at the root of the project)

Endpoints

POST /users/register

POST /users/authenticate         //Gives back an authentication token

GET /users/profile         // Needs JSON Web Token for authorizing

About

MEAN-stack tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages