-
Clone repositori ini.
-
Jalankan perintah
npm install
untuk menginstal dependensi. -
Buat file
.env
lalu konfigurasikan seperti contoh di bawah iniJWT_SECRET=your-secret-key DATABASE_URL="mysql://root:@localhost:3306/db_express_api"
-
Jalankan perintah
npx prisma migrate dev --name init
-
Jalankan perintah
npx prisma generate
-
Jalankan perintah
npx nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/server.ts
untuk menjalankan server.
-
Notifications
You must be signed in to change notification settings - Fork 0
chzkyy/api-express-js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
create api with express js
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published