These instructions will get you a copy of the project up and running on your local machine.
Your system needs a fairly recent version of Node.
If that's all good, then install all necessary dependencies inside the target folder using:
npm install
Then run the development server:
npm run dev
developement server runs on port 8080
GET /acronym?from=50&limit=10&search=:search
GET /acronym/:acronym
GET /random/:count?
POST /acronym
PUT /acronym/:acronym
DELETE /acronym/:acronym:
Important: Each request needs to have an Authorization header to identify yourself. For example:
- Using
fetch
:
fetch(url, { headers: { 'Authorization': 'whatever-you-want' }})
- Express
- Sequelize
- Sqlite (development enviroment)
- Babel
- PostgresSQL (production enviroment)
- Juan Marco
See LICENSE.md
PR's welcome! Open a PR and we'll take it from there.