Skip to content

ivanzigoni/library_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff11738 · Oct 22, 2023

History

57 Commits
Oct 22, 2023
Jul 18, 2023
Jul 30, 2022
Jul 30, 2022
Jul 31, 2022
Jul 30, 2022
Jul 18, 2023
Oct 22, 2023
Aug 7, 2022
Jul 30, 2022
Jul 17, 2023
Jul 17, 2023
Jul 17, 2023
Jul 30, 2022
Jul 30, 2022

Repository files navigation

A basic Library CRUD API with Nest, TypeORM and MySQL. Improving complexity overtime to learn new concepts.

Tables in the system so far:

user(id, name, age, email, password, role)

author(id, first_name, last_name, email)

book(id, title, author_id[fk "author"])

genre(id, name)

book_genre(book_id[fk "book"], genre_id[fk "genre"])

Currently working on:

Adding some more columns to existing entities and delete functionality for all cruds on system.


  • dotenvexample file at root shows environment variables necessary to run the api

  • no seeds available for now

  • "npm start" for running the api

  • "npm run start:dev" for running the api on watch mode

  • "npm run test" for running tests

  • typeorm cli scripts at package.json

About

basic library system [draft]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published