Skip to content

Commit 018ae4e

Browse files
authored
Update README.md
1 parent 6e38f26 commit 018ae4e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Rails REST API + NextJS Prisma boilerplate 🇻🇳
1+
# Rails REST API + NextJS boilerplate 🇻🇳
22
## Description
33

4-
Rails REST API boilerplate for typical project
4+
Rails REST API boilerplate for typical project can connect and interact with Posgres default by Prisma
55

66
## Table of Contents
77

@@ -72,14 +72,15 @@ cd client &&
7272
npx prisma generate &&
7373
npx prisma migrate dev (rails db:migrate)
7474
rails db:seed (prisma introspect && npx prisma db pull && npx prisma db push)
75+
cd ..
7576
rails s -p 3001
7677
```
7778

7879
## Links
7980

80-
- Routes: http://localhost:3000/rails/info/routes
81+
- Routes: http://localhost:3001/rails/info/routes
8182
- Adminer (client for DB): http://127.0.0.1/pgadmin4/browser/ (npx prisma studio)
82-
- Maildev: http://localhost:3000/letter_opener
83+
- Maildev: http://localhost:3001/letter_opener
8384

8485
## Automatic update of dependencies
8586

@@ -136,5 +137,5 @@ docker compose -f docker-compose.ci.yaml --env-file env-example -p ci up --build
136137
## Test benchmarking
137138

138139
```bash
139-
docker run --rm jordi/ab -n 100 -c 100 -T application/json -H "Authorization: Bearer USER_TOKEN" -v 2 http://<server_ip>:3000/api/v1/users
140+
docker run --rm jordi/ab -n 100 -c 100 -T application/json -H "Authorization: Bearer USER_TOKEN" -v 2 http://<server_ip>:3001/api/v1/users
140141
```

0 commit comments

Comments
 (0)