Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ganesyk12/layered-architecture-rest-api
The project is a RESTful API using layered architecture with Express.js and Prisma.
https://github.com/ganesyk12/layered-architecture-rest-api
Last synced: 6 days ago
JSON representation
The project is a RESTful API using layered architecture with Express.js and Prisma.
- Host: GitHub
- URL: https://github.com/ganesyk12/layered-architecture-rest-api
- Owner: Ganesyk12
- License: mit
- Created: 2024-08-26T03:39:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T11:03:45.000Z (27 days ago)
- Last Synced: 2024-12-07T12:16:57.238Z (27 days ago)
- Language: JavaScript
- Homepage: https://layered-architecture-rest-api.vercel.app
- Size: 20.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# REST API Layered Architecture
[![wakatime](https://wakatime.com/badge/user/0a923d76-6b27-459d-9760-5d1bd59e376e/project/167e9886-e1c8-4fcf-ac07-2ed6caaa3db2.svg)](https://wakatime.com/@Zeglock_23/projects/hftfdvtlqi?start=2024-08-25&end=2024-08-31)## Table of contents
* [General info](#general-info)
* [Technologies](#technologies)
* [Pre-Requisite](#pre-requisite)
* [Refference](#refference)
* [Sponsor](#thanks-for-supporting)## General info
This is a simple project to create API.## Technologies
This project was created using the following technologies:
| Tools && Package |Version |
|----------------|--------------------|
|Node |`^20.17.0` |
|Nodemon |`^3.1.4` |
|Express js |`^4.19.2` |
|Prisma ORM |`^5.18.0` |
|PostgreSQL |`^16.3` |## Pre-Requisite
- Initialize your project directory
> npm init
- Install dependencies
> npm install express cors prisma dotenv
- Open prisma studio
> npx prisma studio
- Synchronize model schema
> npx prisma generate
- Running project
> node .## Preview Result
![rest_1jpg](https://github.com/user-attachments/assets/16cbfcce-4414-41aa-b6ab-5ac1fe3b5c8e "Result Preview 1")
![rest_2jpg](https://github.com/user-attachments/assets/aa47dae0-d658-444c-8383-ea329185e7e5 "Result Preview 2")
## Refference
- [Express js Framework](https://expressjs.com/en/starter/installing.html)
- [Prisma ORM](https://www.prisma.io/docs/getting-started)
- Thanks for @theodevoid## Thanks for Supporting
☕ [Click Here](https://www.paypal.com/paypalme/GYudhaKusuma)> Author : [Ganes Yudha Kusuma](https://github.com/Ganesyk12)
> ©2024