This App is similar to Tinder except that you and your friends are swiping on restaurants. When all users match, then that’s what you’re eating! This app will use the Yelp API to pull nearby restaurants. Users can join a group by entering a generated group ID. Users can also send deeplinks to their friends to download the app
Things you need to install the software and how to install them
For JavaSript package manager, In this application we choose to use Yarn, you can install Yarn through the Homebrew package manager
$ brew install yarn
Installing Backend
$ cd backend
$ yarn
Because we choose to process data with sequelize rather than pure quary, after you clone this project, the first thing you need to do is to go to backend folder to find config folder then get into config.json file to change username and password to your own postgres's name and password.
If the file you find it looks like below, you are on correct file.
Then run two statements(Very Important):
$ yarn sequelize db:create
$ yarn sequelize db:migrate
After these two statements sequelize will automatically create a todo_project database and 6 tables in your postgres. After this, you finish all backend setup, then run the server.
$ yarn run dev
Since this ChickenTinder app has not deployed yet, so you can use postman to test each individual end points. It will look like below:
Once the backend is running, it's time to run the frontend.
Frontend Installing
$ cd mobile-frontend
$ yarn
$ cd ios
$ sudo gem install cocoapods
$ pod install
Test on the web:
yarn run web
Test on the ios emulator (Must have xcode fully installed on MacOS)
cd mobile-frontend
yarn run ios
- Node - An open source server environment
- Express - An Node.js web application framework
- Sequelize - A promise-based ORM for Node.js
- ReactNative - A framework for building native apps using React
- Redux - Frontend state-management uses redux
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to se make sure to update tests as appropriate.
Current available version: Version: 1.0.0
Name | GitHub | |
---|---|---|
Lev | https://github.com/LevinWeinstein | [email protected] |
Yuan | https://github.com/CircularDollar | [email protected] |
Zhenzhen | https://github.com/zznw | [email protected] |
This project is licensed under the MIT License - see the package.json file in backend folder for details.