AbderrSfa / book-directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“š 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

About


Languages

Language:TypeScript 56.1%Language:Makefile 17.5%Language:CSS 13.5%Language:JavaScript 12.9%