Git Product home page Git Product logo

books-database's Introduction

Books Database

An app to manage the books that you have read. CS5Ox final project.

Getting Started

Prerequisites

  • NPM & Node.JS installed
  • Pip & Python installed

Installing

Frontend

All this commands must be executed in /frontend/

  1. Install npm packages
frontend/$ npm install

Then for development purpose, add this line in /frontend/package.json

{
...
    "proxy":"http://127.0.0.1:5000/",
...
}
  1. Run this command
frontend/$ npm start

Backend

All this commands must be executed in /backend/

  1. Create python virtual environment
/backend/$ sudo python -m venv flaskenv
  1. Access to virtual environment
/backend/$ source flaskenv/bin/activate
  1. Install pip packages
(flaskenv)/backend/$ sudo pip install -r requirements.txt
  1. Start the backend server
(flaskenv)/backend/$ flask run

Deployment

  • For deployment purpouse be sure to remove proxy line in /frontend/package.json
  • Execute this command in /frontend/
npm run buid

Built With

  • React - The web framework used
  • Flask - Backend server
  • D3 - Used to generate plots

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

books-database's People

Contributors

javierribaldelrio 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.