Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mfarhadattari/api-shanto-travel-songgi
RESTFul API Server development using Express, Typescript, Prisma for Shanto Travel Songgi.
https://github.com/mfarhadattari/api-shanto-travel-songgi
bcry express jsonwebtoken nodemailer postgresql prisma typescript zod
Last synced: 13 days ago
JSON representation
RESTFul API Server development using Express, Typescript, Prisma for Shanto Travel Songgi.
- Host: GitHub
- URL: https://github.com/mfarhadattari/api-shanto-travel-songgi
- Owner: mfarhadattari
- Created: 2024-09-06T11:37:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T15:36:00.000Z (4 months ago)
- Last Synced: 2024-11-10T04:09:36.234Z (about 2 months ago)
- Topics: bcry, express, jsonwebtoken, nodemailer, postgresql, prisma, typescript, zod
- Language: TypeScript
- Homepage: https://api-shanto-travel-songgi.vercel.app
- Size: 438 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# api-shanto-travel-songgi
### RESTful api of shanto travel songgi. Backend api development using expressjs, typescript, prisma, postgresql and other.
## Key Features
- RESTful API using Express JS with Node JS.
- TypeScript for type safety.
- Prisma with PostgreSQL for database maintenance and operation.
- Secure Authentication using JSON web token and Bcrypt.
- Photo upload using Multer and Cloudinary.
- Request body validation using Zod## Main Package or Library
- express
- typescript
- prisma
- nodemailer
- bcrypt
- jsonwebtoken
- multer
- cloudinary
- cors
- cookie-parser
- dayjs
- zod
- dotenv
- http-status
- ts-node-dev## How to run locally
- Clone Repository
```bash
git clone https://github.com/mfarhadattari/api-shanto-travel-songgi.git
```- Go to directory
```bash
cd api-shanto-travel-songgi
```- Add env
```env
DATABASE_URL=
APP_NAME =
PORT =
NODE_ENV =
CLIENT_URL =
REFRESH_TOKEN_NAME =
ACCESS_JWT_SECRET =
ACCESS_JWT_EXPIRE =
REFRESH_JWT_SECRET =
REFRESH_JWT_EXPIRE =
RESET_JWT_SECRET =
RESET_JWT_EXPRIE =
SUPER_ADMIN_NAME =
SUPER_ADMIN_EMAIL =
SUPER_ADMIN_PASS =
MAIL_USER =
MAIL_PASS =
MAIL_HOST =
MAIL_PORT =
CLOUD_NAME =
CLOUD_API =
CLOUD_SECRET =
```- Install Dependencies
```bash
yarn
```- Run Dev Project
```bash
yarn dev
```- Build Project
```bash
yarn build
```- Run Build Project
```bash
yarn start
```## Documentation
- API Doc: https://documenter.getpostman.com/view/31226472/2sAXqndizK
- ER Diagram: https://drive.google.com/file/d/1n_MoHLo4-qQBGxPKbqkk1LiJguYJxPyO/view?usp=sharing