Skip to content

lendroidproject/kernel-server

Repository files navigation

Framework

This project is written using the Google App Engine IaaS (Infrastructure as a Service) framework.

The frontend is developed using the React web framework.

Installation and setup

  1. Install requirements into the lib folder
    • pip install -t lib -r requirements.txt

Note: Project settings are already configured in app.yaml, and the environment is setup to serve the build files generated from React.

Running app

  1. To start the server, simply run the docker-compose command below:
  • docker-compose up
  1. The command will start and instance of the python server accessible at:
  1. The command will also start an instance of the google cloud datastore emulator at:

Interacting with the app

  1. To create an offer:
  • POST http://localhost:8080/offers
  1. To fetch all existing offers:
  • GET http://localhost:8080/offers

Deployment Instructions

  1. Include all the files created by running npm build or yarn build into the templates folder.
  2. Deploy the project in one of the following ways:
  • Using gcloud: gcloud app deploy --project [YOUR_PROJECT_ID] app.yaml index.yaml (More reference available here.)
  • Using GAE Launcher: Hit the "Deploy" button available on the App Engine GUI.

Note: User should be provided App Engine Admin rights to deploy the project.

About

Simple API server that stores and returns loan kernels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published