SocialTap
For our project, we decided to develop an application that allows users to share their social media/professional platforms using an NFC sticker on the back of their phone (or anywhere desired; laptop, wallet, water bottle, etc.). When tapped, the NFC sticker should redirect the person tapping it to a profile configured by the end user. The user will have a choice of what social media and professional platforms they want to display on their page, and they will have the ability to add a photograph and a bio as well through a customization panel.
| Member Name | Position |
|---|---|
| Ian Blasko | Front End |
| Jason Liang | Front End |
| Elsa Osmani | Back End |
| Kurtis Gnapp | Back End |
- Clone this github repository into a folder
- Navigate to the client directory
- Execute the following command:
npm install - Wait for Angular to download all required dependencies
- Navigate to the server folder
- Update 'database/connection.go' with the correct connection string corresponding to your MySQL database and login
- Execute the following command:
go build - Run the executable generated titled 'backend'
- In a seperate terminal, open the client folder
- Execute the following command:
ng serve --host 0.0.0.0 - Make a POST request to /api/reg-user to create a default Administrator user (email: ian@gmail.com, password: password)
- Open a browser and navigate to 127.0.0.1:4200/login
- Confirm you can login with the Administrator account
- After confirmation, the endpoint '/api/reg-user' should be removed from 'routes/routes.go' for security purposes. The backend should then be recompiled with 'go build' and then the backend should be re-run