Guideline and examples for IDA serverless API , encouraging consistency, maintainability, and best practices across applications.
- Download and install NodeJS
- Download and install Yarn
- Download and install MongoDB
- Download and install Code editor that you prefer
All Serverless setup you find here
Before start, install the serverless using the yarn:
yarn global add serverless
Or via npm
nom i -g serverless
First clone the project:
git clone [email protected]:midianinja/ida-auth-serverless.git
Or via https:
git clone https://github.com/midianinja/ida-auth-serverless.git
Go to the project root folder:
cd ida-auth-serverless
In root directory install the dependecies:
yarn
or via npm
npm i
Run the mongoDB:
sudo service mongod start
Start the server locally:
yarn dev
or you can run using IP and port
yarn dev --host 192.168.0.1 --port 3000
The default port is 3000
[...]
[...]
- Serverless - Component library
- Yarn - Dependency Management
- ESLint - Source analyze Tool. Airbnb JavaScript Style Guide
- JSDOC - JavaScript Documentation
We use SemVer for versioning. For the versions available, see the tags on this repository.