Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.26 KB

FlashSwipe

Preview

Background

FlashSwipe is a full-stack mobile app built on top of React Native + Rust

Requirements

Make sure you have the following program installed on your dev system

Database Setup

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

Running the Backend

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

Migrations

If you want to update the database table, please follow the guidelines to add the migration sequence: SEQUENCENUMBER_DESCRIPTION.sql inside the /migrations directory