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

https://github.com/lordksix/nextadventure-backend

Flight booking application. Node.js based framework, NestJS. Back-end
https://github.com/lordksix/nextadventure-backend

Last synced: about 2 months ago
JSON representation

Flight booking application. Node.js based framework, NestJS. Back-end

Awesome Lists containing this project

README

        


logo


ERD


Next Adventure App

# πŸ“— Table of Contents

- [πŸ“— Table of Contents](#table-of-contents)
- [πŸ“– Budget by Lordksix](#about-project)
- [πŸ›  Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [πŸš€ Live Demo](#live-demo)
- [πŸ’» Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [πŸ‘₯ Authors](#Authors)
- [πŸ”­ Future Features](#future-features)
- [🀝 Contributing](#contributing)
- [⭐️ Show your support](#️support)
- [πŸ™ Acknowledgments](#acknowledgements)
- [❓ FAQ](#faq)
- [πŸ“ License](#license)

# πŸ“– Next Adventure App

**Next Adventure App** is the back end of the Next Adventure App. Build using NestJS and PostgreSQL as database. It allows you to look for and book flights and login with Facebook and GOogle.

Link to Front End Repository

(back to top)

## πŸ›  Built With

### Tech Stack

Server

Database

### Key Features

- **Gitflow**
- **Implement Model Migrations**
- **Setup JWT**
- **Setup Guards**
- **Implement authentication**
- **Use PostgreSQL**
- **Implement Factory builder and seeders**

(back to top)

## πŸš€ Live Demo

> The backend is being deploy to [Live Demo](https://next-adventure-lordksix.onrender.com).

(back to top)

## πŸ’» Getting Started

### Prerequisites

In order to run this project you need:

- To clone or fork this repo
- Have Nest CLI install and Node.js
- PostgreSQL install in you computer
- To modify this profile you will also need a text editor

For more information on how to install ruby on your machine:

- How to install Node.js
- How to install Nestjs

### Setup

Clone this repository to your desired folder:

For example, using Ubuntu:

```sh
cd my-desired-folder
git clone https://github.com/lordksix/NextAdventure-backend.git
```

For more information on how to clone or fork a repository:

- How to clone a repo
- How to fork a repo

### Install

To install dependencies, the following command must be run in the terminal:

```sh
cd NextAdventure-backend
npm i
```

Run:

```bash
cp .env.example .env
```

Update DATABASE_PG_PASSWORD and SESSION_SECRET in .env file

To create database, migrate schema and implement initial database entries

```sh
npm run db:create && npm run migrations:run && npm run reseed
```

### Usage

In the project directory, run:

```sh
npm run start:dev
```

### Run tests

No tests implemented

(back to top)

## πŸ‘₯ Authors

πŸ‘€ **lordksix**

- GitHub: [@lordksix](https://github.com/lordksix)
- LinkedIn: [@wladpasquel](https://www.linkedin.com/in/wladpasquel/)
- Medium: [@wladimir.pasquel](https://medium.com/@wladimir.pasquel)

(back to top)

## πŸ”­ Future Features

Future changes:

- Finish implementing JWT
- Finish local, Google and Facebook login
- Implement testing

(back to top)

## 🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

If you like this project, I encourage you to clone, fork and contribute. Our community and knowledge grows with each engagement.

(back to top)

## πŸ™ Acknowledgments

- Life is awesome!!!

(back to top)

(back to top)

## πŸ“ License

This project is [GNU v3](./LICENSE) licensed.

(back to top)