GithubHelp home page GithubHelp logo

redesigned-waffle's Introduction

elebuild

What do you need?

  1. Docker
  2. docker-compose
  3. (If compiling) A rust build environment

Getting it up

Follow the steps below in the given order.

Getting the db on

  1. Set the env variables Look at the environment variables section; Place it in a .env file.
  2. Use docker compose to start the database
    docker-compose up -d

Compiling it (If you dont have an executable)

  1. Use the rust toolchain, preferably the latest stable one.
  2. Build it
    cargo build --release
  3. Your executable will be present in the target/release directory.

Note:

  1. Use cargo run --release to directly compile and run
  2. Database needs to be reachable while compiling

Running it

  1. Run the executable
  2. ???
  3. Profit

Note: The executable is silent, use the rest api to talk to it. This file can be interacted with the VSCode extension "Rest Client" (humao.rest-client) for testing, but otherwise these are curl requests that can be used appropriately.

Environment variables

VAR DESC FOR
POSTGRES_USER db
POSTGRES_PASSWORD db
DATABASE_URL connection url server

What it has

User -> Name, USN, PWD, email, Dept Sub -> CC, Sem, Dept, isGlobal, maxCapacity Booking -> USN,CC

What it does

  1. Mass import users
  2. Mass import subjects
  3. Users book subjects? Better just add any amount
  4. Users can see stats?
  5. Report comes with result

TODO

Aims

  • Add subject booking recording
  • Add subject booking computations
  • Auth
  • Consider enabling and disabling bookings

Misc

  • Understand existing codebase
  • Consider conventional composition for the sake of my sanity

redesigned-waffle's People

Contributors

chrisvrose avatar

Watchers

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