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

https://github.com/gabriellefoliv/planner-backend

Developed during NLW Journey by Rocketseat. A trip planner where you can create new trips, invite friends and send confirmation emails.
https://github.com/gabriellefoliv/planner-backend

nodejs prisma sqlite typescript

Last synced: 2 months ago
JSON representation

Developed during NLW Journey by Rocketseat. A trip planner where you can create new trips, invite friends and send confirmation emails.

Awesome Lists containing this project

README

          

[JAVASCRIPT__BADGE]: https://img.shields.io/badge/Javascript-000?style=for-the-badge&logo=javascript
[TYPESCRIPT__BADGE]: https://img.shields.io/badge/typescript-D4FAFF?style=for-the-badge&logo=typescript
[EXPRESS__BADGE]: https://img.shields.io/badge/express-005CFE?style=for-the-badge&logo=express
[VUE__BADGE]: https://img.shields.io/badge/VueJS-fff?style=for-the-badge&logo=vue
[NEST__BADGE]: https://img.shields.io/badge/nest-7026b9?style=for-the-badge&logo=nest
[GRAPHQL__BADGE]: https://img.shields.io/badge/GraphQL-e10098?style=for-the-badge&logo=graphql
[JAVA_BADGE]: https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white
[SPRING_BADGE]: https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge&logo=spring&logoColor=white
[MONGO_BADGE]: https://img.shields.io/badge/MongoDB-%234ea94b.svg?style=for-the-badge&logo=mongodb&logoColor=white
[AWS_BADGE]: https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white

Plann.er API 💻

![typescript][TYPESCRIPT__BADGE]
![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)
![Prisma](https://img.shields.io/badge/prisma-black?style=for-the-badge&logo=prisma)


Getting Started
API Endpoints
Collaborators
Contribute


i


A trip planner where you can create new trips, invite friends and send confirmation emails.

🚀 Getting started

Here you describe how to run your project locally

Prerequisites

Here you list all prerequisites necessary for running your project. For example:

- [NodeJS](https://github.com/)
- [Git 2](https://github.com)

Cloning

How to clone your project

```bash
git clone your-project-url-in-github
```

Environment Variables

Use the `application.properties.example` as reference to create your configuration file `application.properties` with your AWS Credentials

```yaml
aws.region=us-east-1
aws.accessKeyId={YOUR_AWS_KEY_ID}
aws.secretKey={YOUR_AWS_SECRET}
```

Starting

How to start your project

```bash
cd project-name
npm some-command-to-run
```

📍 API Endpoints

Here you can list the main routes of your API, and what are their expected request bodies.

| route | description
|----------------------|-----------------------------------------------------
| GET /authenticate | retrieves user info see [response details](#get-auth-detail)
| POST /authenticate | authenticate user into the api see [request details](#post-auth-detail)

GET /authenticate

**RESPONSE**

```json
{
"name": "Fernanda Kipper",
"age": 20,
"email": "her-email@gmail.com"
}
```

POST /authenticate

**REQUEST**

```json
{
"username": "fernandakipper",
"password": "4444444"
}
```

**RESPONSE**

```json
{
"token": "OwoMRHsaQwyAgVoc3OXmL1JhMVUYXGGBbCTK0GBgiYitwQwjf0gVoBmkbuyy0pSi"
}
```