diff --git a/README.md b/README.md index e637499..b962cfc 100644 --- a/README.md +++ b/README.md @@ -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... + +

+TypeScript +Express +NestJS +PostgreSQL +Heroku +

+ +## 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 trepir.com diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 215cc00..48445ec 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -5,7 +5,6 @@ generator client { datasource db { provider = "postgresql" - // url = env("DATABASE_URL_PRODUCTION") url = env("DATABASE_URL") } diff --git a/src/prisma/prisma.service.ts b/src/prisma/prisma.service.ts index 2ed9557..0e0b309 100644 --- a/src/prisma/prisma.service.ts +++ b/src/prisma/prisma.service.ts @@ -10,7 +10,6 @@ export class PrismaService extends PrismaClient { super({ datasources: { db: { - // url: config.get('DATABASE_URL_PRODUCTION'), url: config.get('DATABASE_URL'), }, },