Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upd(docs): readme proj + backend #68

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ Backend WEB API application using:
- TypeORM
- pnpm

Application using clean architecture.

# Quick start
### Local
1. Install dependencies
```pnpm i```
- Install postgres and add to config connection params
- Generate RSA keys for JWT authentication
```
mkdir -p src/config \
AleksanderNekr marked this conversation as resolved.
Show resolved Hide resolved
&& openssl genpkey -algorithm RSA -out src/config/private.pem -pkeyopt rsa_keygen_bits:2048 \
&& openssl rsa -pubout -in src/config/private.pem -out src/config/public.pem \
&& chmod 644 src/config/private.pem src/config/public.pem
```
2. Start backend:
disk0Dancer marked this conversation as resolved.
Show resolved Hide resolved
- Production ready:
```pnpm start```
Expand Down
Loading