Skip to content

A trip booking api written with Nodejs and Express

Notifications You must be signed in to change notification settings

maqui7295/wayfarer

Repository files navigation

wayfarer

Build Status Coverage Status

Wayfarer is a trip booking application that was originally based on a challenge provided by Andela. I hope you'll find it useful as a starter app for your Node-ExpressJs project or as an educational material. It includes a simple class to manage SQL queries for postgreSQL which I may develop into a full query builder. Documentation of the APIs can be found here

Installation

git clone https://github.com/maqui7295/wayfarer

cd wayfarer

yarn install

Next, install postgresql on your local machine and on the terminal, create a database using

set PGUSER=postgres

createdb dbname

Or you can use pgAdmin to manage your postgreSQL backend. You can find more information here

Usage

To run the application, cd into the root directory and run

yarn start

This (yarn start) creates the tables and populate it with some dummy data because it runs

yarn run initdb

Tests, both unit and integration written with Jasmine and supertest can be run with

yarn test.

About

A trip booking api written with Nodejs and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published