SpotIt is a web app built in Elixir and the Phoenix Framework. Users can post a picture of anything they spot nearby, such as a yard sale or a food truck, and other users can see the picture and the post pop up in real time on a map. This app is an ongoing project to experiment with the Phoenix/Elixir on the backend and React (web) and React Native (mobile) on the frontend.
- Mapbox API
- Phoenix Framework
- Elixir
- React
- React Native
- PostgreSQL
First, clone this repository git clone https://github.com/rickypchen/spotitapp.git
To start this application's server:
-
Go into the server folder where the backend API (Phoenix) lives:
cd server
-
Install dependencies with
mix deps.get
-
Install npm packages with
npm install
-
Create and migrate your database with
mix ecto.create && mix ecto.migrate
-
Start Phoenix API with
mix phoenix.server
Next, you can start the application's client: For the web client (React):
-
Go into the client folder where the frontend clients live:
cd client
-
Install npm packages with
npm install
-
Start the client by running
npm start
-
Now, you can visit
localhost:3000
from your browser
For the mobile client (React Native): It is currently in development.