Giter Club home page Giter Club logo

zuno-library's Introduction

Zuno Library - Interview Challenge

This is a project for Zuno Interview Challenge. It is a books webapp that allows users to explore and view books as well as to see the book views on a chart.

Getting started

To get started, you have to either download or clone the repository

git clone https://github.com/gxvr/zuno-library.git

You need to install Node.js and NPM as well as Python and pip if you don't have them yet.

Installing requirements

On the backend you need to install all needed dependecies. cd to fastapi on your termainal and run:

pip install -r requirements.txt

Likewise on the frontend cd to web directory then run:

npm install

and it will install all required dependecies.

NOTE: If you are getting error on postcss while running the app you can try the following commands

npm uninstall tailwindcss postcss autoprefixer

npm install tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

You're ready to go ๐Ÿš€

Now your system should be ready for launch and serve our wonderful app.

First, go to fastapi directory

  • Add your Mysql database credentials on database.py
conn_str = "mysql+pymysql://username:password@host/database"

Then start your backend by running:

uvicorn main:app --reload --port 5051

On frontend go to web directory and run following command:

npm run serve

To use your app, open your browser and go to http://localhost:5000/

Enjoy!

Technologies

Frontend

  • VueJs
  • TailwindCSS
  • ChartJS
  • HTML5

Backend

  • Python
  • FastAPI
  • SQLModel
  • MYSQL
  • Uvicorn

TODO

  • Showing the book views on a chart

zuno-library's People

Contributors

gxvr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.