Skip to content

arllain/fastfeet-api

Repository files navigation

Fastfeet

FastFeet Shipping Company


This project is about a shipping company.

📝 Table of Contents

🧐 About

This api is to serve the fastfeet app mobile and web.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installing

You need create a database PostgreSQL, MongoDB and Redis to run backend

# Creating a postgreSQL database in Docker
docker run --name fastfeet_db -e POSTGRES_PASSWORD=yuor password -p 5432:5432 -d postgres

# Creating a mongo database in Docker
docker run --name fastfeet_mongo -p 27017:27017 -d -t mongo

# Creating a redis database in Docker
docker run --name redisfastfeet -p 6378:6379 -d -t redis:alpine
# Clone this repository
$ git clone https://github.com/arllain/fastfeet-api.git

# Go into api
$ cd fastfeet-api

# Install dependencies
$ yarn

# Execute migrations
$ yarn sequelize db:migrate

# And execute seeds
$ yarn sequelize db:seed:all

# Run the api
$ yarn dev

# Debug the api
$ yarn dev:debug

🔧 Running the tests

Explain how to run the automated tests for this system.

Break down into end to end tests

Explain what these tests test and why

Give an example

And coding style tests

Explain what these tests test and why

Give an example

🎈 Usage

Add notes about how to use the system.

🚀 Deployment

Add additional notes about how to deploy this on a live system.

⛏️ Built Using

✍️ Authors

About

fastfeet shipping company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages