FlashSwipe is a full-stack mobile app built on top of React Native + Rust
Make sure you have the following program installed on your dev system
We will be using docker containers to setup our PostgreSQL database.
You can use the command make init_db
that will automatically:
- create a container named
flashswipe_db_container
- setup a postgres server inside the container &
- expose it to the default postgres port
5432
You need to create a .env
file inside the /backend/
directory with the keys defined inside the .env.sample
After setting up the .env
file, you can run the application using: make run
or cargo run
If you want to update the database table, please follow the guidelines to add the migration sequence:
SEQUENCENUMBER_DESCRIPTION.sql
inside the /migrations
directory