Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 2.75 KB

README.md

File metadata and controls

67 lines (50 loc) · 2.75 KB

Image of Popita

Popita

Popita is an android mobile app that is completly based on rest API. The app gives users the ability to view and send messages to people nearby who are currently drinking.

Features

  • Login and account registration.
  • Authentication via provider(Google or Facebook).
  • Sending, receiving, and filtering messages from other users.
  • Setting and getting the users locations in real time.
  • Displaying recently active users within 5km(8 miles).
  • Editing a user profile and credentials.
  • Viewing users profiles.

What's included

  • Android app
  • Django app
  • Adobe Xd project

Dependencies

In strings.xml file complete the data below with your credentials

<string name="facebook_app_id">YOUR_FACEBOOK_APP_ID</string>
<string name="fb_login_protocol_scheme">YOUR_FACEBOOK_LOGIN_PROTOCOL_SCHEME</string>
<string name ="web_client_id">YOUR_WEB_CLIENT_ID</string>
<string name="maps_api_key">YOUR_MAPS_API_KEY</string>
<string name="server_ip">YOUR_SERVER_IP</string>

Setup

Install dependencies

pip install requirements.txt

Migrate database

python3 manage.py migrate

Run server

python3 manage.py

Documentation

For detailed rest API documentation, please go here.

External resources

In project has been used resources from Contra and Open peeps.

License

Copyright 2021 Grzegorz Piechnik

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.