# jwtAuth-RESTful-server-starter **Repository Path**: kavalon/jwtAuth-RESTful-server-starter ## Basic Information - **Project Name**: jwtAuth-RESTful-server-starter - **Description**: REST api server starter - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## REST api server starter (using JWT, express and mongoose) ### Main tools used: [`JWT`](https://github.com/auth0/node-jsonwebtoken), [`express`](strongloop/express), [`mongoose`](https://github.com/Automattic/mongoose), [`axios`](https://github.com/mzabriskie/axios) ### How to start: 0. install mongodb , nodemon 1. start mongodb: `mongod --dbpath YourDBPath`; 2. in `config.js`, change `DATABASE` to `YourDBPath` and set your `SECRET` 3. run the server: `npm start` ### test: run `npm test` I tested the api using [axios](https://github.com/mzabriskie/axios). Axios is an HTTP client for the browser and node.js. This means you can resuse the code in your web app to do ajax requests. ### TODOs: - [ ] checkout using email - [ ] password bcrypt:https://github.com/ncb000gt/node.bcrypt.js/