Skip to content

Latest commit

Β 

History

History
24 lines (18 loc) Β· 1.1 KB

File metadata and controls

24 lines (18 loc) Β· 1.1 KB

πŸ“š Book Directory

πŸ”Œ Backend

The backend uses Node.JS and Express.JS to run a server on port 4040. The data is kept in a postgres database running in a docker container.

πŸ–Ό Frontend

The frontend was made using next.js and react, and styled with tailwindCSS.

βš™οΈ Usage

There is a Makefile in the root directory.

  • Run make to create the postgres database and install all npm packages for the frontend and backend.
  • Go to the api folder and run npm run start to start the backend.
  • Then, in a different terminal, go to the src folder and run npm run start to start the next.js frontend.

You can access the app on localhost:3000

P.S: You need to have docker installed to run the postgres database. Also these books don't actually exist. It's just dummy data.

book-directory-gif

book-directory