Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aquapi/xcareertest
XCareer Level 3 Test
https://github.com/aquapi/xcareertest
Last synced: 2 days ago
JSON representation
XCareer Level 3 Test
- Host: GitHub
- URL: https://github.com/aquapi/xcareertest
- Owner: aquapi
- Created: 2023-10-27T10:30:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-27T10:33:36.000Z (about 1 year ago)
- Last Synced: 2023-10-27T11:28:08.777Z (about 1 year ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Store
This is a project made with my custom framework, [Stric](https://github.com/bunsvr).For more info about the test, see [Notion](https://mindxschool.notion.site/X-Career-Level-3-Test-239ac6279efd43a9a8ee3072d2815a7e).
## Requirement
You need Bun to run the project.To install Bun, use:
```bash
# MacOS, Linux, WSL2
curl -fsSL https://bun.sh/install | bash
```If you are using Windows you can build and run a Docker container with the provided [`Dockerfile`](./Dockerfile) or use WSL2.
## Start
To install dependencies:
```bash
bun install
```To run:
```bash
bun run index.ts
```Server will listen at `http://localhost:8080` by default.
You can change that by modifying the `PORT` in [`.env`](./.env).
To run the test suite:
```
bun test
```This project was created using `bun init` in Bun v1.0.7. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
# Q&A
## Why Bun?
It makes things simpler and faster. SQLite built-in, Bcrypt and Argon2 built-in, ...## Why not MongoDB?
There is no real reason you want to use MongoDB in production.