This is a simple API that manage billing of vehicles in parking area.
For related project, see Junkie Parking App
You will need a Firebase project and firebase tools cli
npm install -g firebase-tools
git clone https://github.com/JunkieLabs/junkie-parking-rest-api.git .
- Log into firebase and create a project.
for more detail visit Firebase Project setup
- After creation of project, get the project id, this will be needed in next step.
- Enable google auth, this will be needed for authorizing Junkie Parking App.
- make sure your firebase project is in blaze.
- You need to change the firebase project name in .firebaserc file.
{
"projects": {
"default": "your-project-id"
}
}
- After that, you can log in to firebase in the terminal
firebase login
- Go inside functions folder and install npm packages using terminal
npm install
- Go inside the functions folder, and run serve command
npm run serve
- after this you will get a url which can be used in Junkie Parking Android App project
- For the first time, you have deploy the hosting and functions together
npm run deploy
Yes! The App won't run without backend. You can this repo and run on your system.
This project is an open-source initiative by Junkie Labs.
For any questions or suggestions send a mail to [email protected] or chat with the core-team on gitter.