An open API service indexing awesome lists of open source software.

https://github.com/mugarate12/minhareceitaapi

A Rest API to serve a web app
https://github.com/mugarate12/minhareceitaapi

express javascript knex nodejs typescript

Last synced: 23 days ago
JSON representation

A Rest API to serve a web app

Awesome Lists containing this project

README

        

## Minha Receita API
- [Overview](#overview)
- [Requirements](#requirements)
- [Installation](#installation)
- [Tests](#tests)
- [Run server](#run-server)

## Overview

API built on Node.JS. It's RESTful API for a Web Application.

## Requirements

- **[Node.js](https://www.nodejs.org/)** (supported versions: 10.x.x)
- **[MYSQL](https://www.mysql.com/)**

## Installation

### MySQL Configuration
1. create "minhareceitaAPI" database
2. create "minhareceitaAPI_TEST" databse

### Env variables
1. create `.env` file like `.env.example`
2. change in this file settings for a authentication to locally database

### Install all dependencies
```bash
$ npm install
```

## Tests
you can run tests for
```bash
$ npm run test
```

## Run server
```bash
$ npm start
```