Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelcamargo/veedgee-api
Veedgee's API
https://github.com/rafaelcamargo/veedgee-api
Last synced: 10 days ago
JSON representation
Veedgee's API
- Host: GitHub
- URL: https://github.com/rafaelcamargo/veedgee-api
- Owner: rafaelcamargo
- Created: 2024-02-03T20:57:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T20:28:51.000Z (7 months ago)
- Last Synced: 2024-05-04T21:28:29.612Z (7 months ago)
- Language: JavaScript
- Size: 713 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Veedgee API
> Veedgee's API[![CircleCI](https://dl.circleci.com/status-badge/img/gh/rafaelcamargo/veedgee-api/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/rafaelcamargo/veedgee-api/tree/main)
[![Coverage Status](https://coveralls.io/repos/github/rafaelcamargo/veedgee-api/badge.svg?branch=main)](https://coveralls.io/github/rafaelcamargo/veedgee-api?branch=main)## Contributing
1. Install [Node](https://nodejs.org/en/) 18.x (Use of [NVM](https://github.com/nvm-sh/nvm) is recommended)
2. Install PostgreSQL 14.x
3. Clone the repo:
``` bash
git clone [email protected]:rafaelcamargo/veedgee-api.git
```4. Go to the project directory
``` bash
cd veedgee-api
```5. Install the project dependencies
``` bash
npm install
```6. Create and prepare the database with the following command:
```
npm run db:setup
```7. Check your changes running the command below and accessing `http://localhost:9000`:
``` bash
npm run start
```## Tests
1. In case you have changed the API behavior, ensure that all changes are covered with automated tests:
``` bash
npm run test
```2. You can optionally generate a coverage report while running tests:
``` bash
npm run test -- --coverage
```