Skip to content

reysmerwvr/weather-api

Repository files navigation

Weather-API application

This is the API for weather app.

Requirements

  • Node.js >= 8.0.0
  • npm >= 3.0.0

Version

1.0.0

Installation

Download zip file and extract it latest pre-built release. Or clone the repository and cd into it.

Weather-API uses a number of open source projects to work properly:

Install the dependencies and start the server.

cd weather-api
npm install
cp .env.example .env

If you don't have .env file you can use the example one. Just rename .env.example to .env. Enter your configuration here.

Migrations

Run the following command to run startup migrations.

adonis migration:run

Seeds

Run the following command to run startup seeds.

adonis seed

Run

Run the following command to start the HTTP Server.

adonis serve --dev