Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasshira/planner
Plann.er is an application designed to help organize and plan trips, allowing users to create and confirm trips via e-mail.
https://github.com/lucasshira/planner
fastify nodejs prisma typescript
Last synced: 2 months ago
JSON representation
Plann.er is an application designed to help organize and plan trips, allowing users to create and confirm trips via e-mail.
- Host: GitHub
- URL: https://github.com/lucasshira/planner
- Owner: lucasshira
- Created: 2024-07-09T01:33:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T00:06:02.000Z (4 months ago)
- Last Synced: 2024-09-28T14:22:23.597Z (3 months ago)
- Topics: fastify, nodejs, prisma, typescript
- Language: TypeScript
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plann.er
Plann.er is a project developed in TypeScript using Node.js with Fastify and Prisma as the ORM, connected to a SQL database.
## Overview
The app is designed to help organize and plan trips, allowing users to create, confirm trips and invite their friends easily.
## Technologies Used
- **Node.js**
- **TypeScript**
- **Fastify**
- **Prisma**
- **SQL**
- **Zod**## Getting Started
To get started with Plann.er, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/lucasshira/planner.git
```
2. Navigate to the project directory:```bash
cd planner
```3. Install dependencies:
```bash
npm install
```4. Set up environment variables. Create a .env file in the root of the project with the following content:
```bash
DATABASE_URL="file:./dev.db"
API_BASE_URL="http://localhost:3333"
WEB_BASE_URL="http://localhost:3000"
PORT="3333"
```## Prisma Migrations
1. Create the database migrations:
```bash
npx prisma migrate dev
```
2. Generate the Prisma client:```bash
npx prisma generate
```## Running the Project
1. Start the development server:
```bash
npm run dev
```2. Access the application at http://localhost:3333