Skip to content

FJ-Riveros/CryptoAway

Repository files navigation

Logo

A social network Web App where you can add friends, give likes to their posts, comment, earn $Away the cryptocurrency of the app and the most important feature. Travel with your friends or even strangers, paying with cryptocurrencies!

 

📜Table of Contents
  1. Stack
  2. Deploy and Hosting
  3. Roadmap
  4. Details
  5. Token $away and rewards
  6. Flow Charts
    1. Admin
    2. Logged User
    3. Unlogged User
  7. Database EER
  8. Navigation
  9. User Interactions
  10. Checkpoint
  11. Contact
  12. Live App
  13. Presentation

 

📚Stack

Techonologies used in this project

Frontend Backend Others

 

🏭 Deploy and Hosting

There is going to be a separation between the DBMS and the actual Web Application. The DB is hosted in AWS as an instance of a RDS server, while the domain name and the Web hosting is provided by AWS.

The cloud storage is provided by AWS where the aplication uploads every image that the user uses in his posts or as a profile picture and saves the reference to these files in the DB.

 

📆Roadmap

  • Pages

    • Registered User
    • Profile
    • Trip section
    • Register
    • Landing
    • Admin
    • Specific for each trip
  • User actions

    • Give like to a post
    • Create a post
    • Modify user profile
    • Create a comment
    • Create a trip suggestion
  • Blockchain

    • Smart Contracts
    • $Away token
    • Give rewards
    • Pay the trip with cryptocurrencies
    • Weekly raffle
    • Implement the discount on any trip
  • App translation

    • English
  • Others

    • Hosting
    • Separate server for DB and Web
    • Responsive
    • Implement React Components
    • Protect endpoints
    • Async calls
    • MVC
    • TDD (Test Driven Development)
    • Testing the API endpoints with UNIT
    • Create the Rest API in Laravel
    • Domain name
 

📃Details

My idea is to make a hybrid application (there are many applications that implement this feature, since the storage in the blockchain is quite expensive, so the information with more volume and less sensitive is stored in conventional BDD while the sensitive data is stored in the Blockchain), mixing in the backend PHP along with Solidity (the coding language of the Ethereum Blockchain). The blockchain itself is a decentralized database, so I plan to host the currency I will create $away there, along with the raffle and reward logic, plus the payment for the trips.

 

💰$away and rewards

To attract users, a specific cryptocurrency will be created for the ecosystem of our web app called $away, the interaction is simple, every time we perform each of the following actions we will be rewarded with "X" amount of $away. The token $away will be sent to the digital wallet of the user (Metamask).

Task Reward
Book a trip +40 $away
Suggest a trip with itinerary (Need to be approved by the team) +20 $away
Rate a trip and leave a comment +5 $away

💸What is the utility of $away for the users?

Amount of $away Reward
$50 Discount of 15$ on any trip
$20 Enter the weekly raffle to have a chance to win a free trip!

 

📈Flow Charts

FlowChart

 

Admin

graph LR
A((Admin)) --> B(Delete User)
A --> C(Change user Data)
B --> D{Admin Page}
C --> D
A --> E(Delete trip)
A --> F(Add trip)
E --> G{Blockchain}
F --> G
Loading

 

Logged User

graph LR
A((Logged User))
A--> B(Add Friend)
A --> C(Create a post)
A --> D(Give like)
A --> E(Comment)
A --> G(Suggest a trip)
A --> F(Book a trip)
A --> H(Enter the weekly Raffle)
H --> I{Blockchain}
F --> I
B --> J{Personal Feed}
C --> J{Personal Feed}
D --> J{Personal Feed}
E --> J{Personal Feed}
G --> J{Personal Feed}

Loading

 

Unlogged User

graph LR
A((Unlogged User)) --> B(View the Landpage)
A --> C(Create an account)
A --> D(Login)
C --> E{Landpage}
D --> F{Personal Feed}
Loading

 

📂Database EER

EER

 

🚶Navigation

We can move around the App through this box located on the left side.

image

Feed

image

 

👀User interactions

Give likes to your friend's posts

image

Friend suggestions

image

Book a trip

image

User trips

image

Add a friend

image

Accept or reject a friend request

image

See and delete friends

image

Create own posts

image

View own posts

image

Modify user profile

To modify your profile, you must go to the left panel and click on the icon shown below.

image

A form is presented to modify the profile. image

 

📽️ Checkpoint video

Watch the video

🏁 Live App

📰 Presentation

💻Connect with me fj-riveros

fj-riveros

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published