Giter Club home page Giter Club logo

open-reservation's Introduction

A website for open reservation

These website is been built using GAE along with Flask.

You can find the website live at this url:

https://open-sreservation-ost.appspot.com/

If you want to run it locally, clone this project and run:

dev_appserver.py .(You need to have google app engine installed with the bin path added to the PATH environment)

There is another branch called "experiment" and it basically remove the rss functionality.

Web functionalities

Pretty much everything covered in the rubic file of the final project. Namely the following points:

  1. Multi-user system. User can login, logout, register a new user. All infomation will be stored in cookies during one session. What I extrally did is taht Password has been encoded by encryption algorithm and only store the encoded version. So user's data can keep safe even if the entire data base is stolen.

  2. Create a resource and set an available start and end time. End time has to been later than the start time otherwise leed to an error.

  3. User can either make or delete a reservation. Reservation can't span two days and can't conflit with all the previously made reservation. Only upcoming reservation by some certain user will be shown on the front paeg.

  4. Tag system. Click the tag of a resource too see a list of all resource with this tag.

Code structure

Pretty much follow the MVC pattern.

M: You can find every data model in the database directory. I have 3 tables namely reservation, resource, tag.

V: It is separated to html files which is in the template folder and css and js files which can be found in the static folder.

C: Controller stuff. It's all in main.py in the root directory.

Tools folder include some utility functions I wrote for this project.

open-reservation's People

Contributors

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