Ultilized linked lists, hash tables, binary search trees, stack and queues to perform CRUD operations
- Install dependencies via
yarn
ornpm install
- Create DB schema via
npx mikro-orm schema:create -r
- Run via
yarn start
ornpm start
- Example API is running on localhost:1469
Available routes:
POST /user creates new user
GET /user/descending_name gets users by descending name order
GET /user/ascending_name gets users by ascending name order
GET /user/:id finds user by id
DELETE /user/:id deletes user by id
POST /blog_post:user_id creates a blog post
GET /blog_post/numeric_body gets all blog posts and turns body into numbers
GET /blog_post/:id finds a blog post by id
DELETE /blog_post/delete_last_10 deletes last 10 blog posts
- Typescript
- Express
- MikroORM
- SQLite