Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,55 @@
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

# Trepir

## Where to?

Trepir allows users to create and edit trip itineraries with thousands of modular, user-generated activities around the world

## Developed with...

<p align="left">
<a href="https://www.typescriptlang.org/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/typescript-colored.svg" width="36" height="36" alt="TypeScript" /></a>
<a href="https://expressjs.com/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/express-colored.svg" width="36" height="36" alt="Express" /></a>
<a href="https://docs.nestjs.com/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/nestjs-colored.svg" width="36" height="36" alt="NestJS" /></a>
<a href="https://www.postgresql.org/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/postgresql-colored.svg" width="36" height="36" alt="PostgreSQL" /></a>
<a href="https://www.heroku.com/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/heroku-colored.svg" width="36" height="36" alt="Heroku" /></a>
</p>

## Getting started

1. Clone the repo

```
git clone https://github.com/Trepir/trepir-be.git
cd trepir-be
```

2. Install dependencies (Make sure to have already have installed PostgreSQL on your computer)

```
npm install
```

3. Create your .env file and fill it with your credentials

```
/* You will need DATABASE_URL and PORT */
```

4. Start development backend server

```
npx prisma migrate dev
npm run start:dev
```

## What makes Trepir Different

- ### Shared Content
- Users can create activities for other users to add to their trips.
- ### Modify Your Trips
- Easy drag and drop UI for ease of use
- Dates modify automatically for the user when an accommodation or travel is moved to a new day.

### See live on <a href="https://www.trepir.com/" target="_blank" rel="noreferrer">trepir.com</a>
1 change: 0 additions & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ generator client {

datasource db {
provider = "postgresql"
// url = env("DATABASE_URL_PRODUCTION")
url = env("DATABASE_URL")
}

Expand Down
1 change: 0 additions & 1 deletion src/prisma/prisma.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export class PrismaService extends PrismaClient {
super({
datasources: {
db: {
// url: config.get('DATABASE_URL_PRODUCTION'),
url: config.get('DATABASE_URL'),
},
},
Expand Down