View Code? Open in Web Editor
NEW
Sails JS RESTful authentication API via JWT ๐ ..
License: MIT License
sails-auth-api's Introduction
This is a Sails JS RESTful authentication API via JWT ..
What technologies that i used ?
- MongoDB - as a database, light and convenient for application purpose.
- Node Js - as server side application representing APIs.
- Sails JS v1.1.0 - used as a framework on node to enable creating routes and APIs in an easy way.
- Json Web Token - JSON-based open standard (RFC 7519) for creating access tokens that assert some number of claims.
- BcryptJs - a password hashing function.
What is the pattern and the archeticture that i used ?
- REST API is a software architectural style that defines a set of constraints to be used for creating Web services
- The MVC Design Pattern is one of the oldest architectural pattern for web applications.
- you have to install NodeJS as it's the service and also to use its package manager npm.
- you have to install MongoDb locally or access to MongoDB in Cloud.
How to run the application
- clone or download files in some place.
- open CMD or Terminal in the root folder you just cloned.
- write this command npm install to install dependencies.
- start mongodb, if you are locally.
- then write
npm run dev
to run the api and can test with postman or integrate with any front-end framework.
More Links About Sails JS
- create a complete app with sails js.
MIT
sails-auth-api's People
Contributors
Stargazers