Giter Club home page Giter Club logo

homestay-booking-web's Introduction

Homestay Booking Web

This web application provide feature three kind of user

  1. Normal user 2.Member 3.Admin The number of feature they can use base on their role in system.

To run this application. You have to install mysql in your computer.and have a schema have the same name with DATABASE_NAME in homestay/.env file

Change the environment variable in homestay/.env file to match with your

To apply table in schema. Run command "python manage.py db init" and then "python manage.py db migrate"

To run server. Run command "python manage.py runserver" and open "127.0.0.1:5000" on your browser.

It also provide the API documentation. Help the developer can easy to test every endpoint in system.

Screenshot (6)

In application. We have two kind of endpoint

  1. Security endpoint
  2. Normal endpoint

With security endpoint. To access this endpoint. You need to send an access token in header of request. This token you can recieve when you login the website

1

After you logout website. This access token will be revoke or after a period time. To recieve new access token. You can send a new login request or get new access token by refresh token you have been recieved when logged in.

The sytem also can identify the role of current user to give the user permission to do the feature they want or return a issue message

homestay-booking-web's People

Contributors

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