A community-based art sharing application designed to help you share work with other people
I created this app because I am part of a few groupchats with friends and receive many photos, I wanted to create an app where all of my friends could post their photos in communities(Cars,memes,movies) where they would be relevant.
Built with
- Javascript
- React
- Rails
- I added JWT to authenticate old accounts and create new accounts with secure logins.
- Integrated a token to persist the user on page change or refresh
- I added a sign up and login feature to allow user to access the community page.
- The user can view/add artwork to any community and delete their own.
- The user can browse and inspect artwork in any community.
Render Community Code
In this snippet above, this function's purpose is to render communites to the page when it recieves props from the url. The if statement check to see whether or not their is a token within the state of app.js. This token exists upon successful login. It will then create a component with props of user,token,commmunities and 2 methods(addNewArtowk and deleteArtwork). If there is no token because of a failed login attempt or if you logout you will be redirected to the login page.
Clone down backend repo https://github.com/Gurjot-Sidhu/Artbackend
- Download and install
ruby v 2.6.1
- run
bundle install
- run
rails db:migrate
- run
rails db:seed
- run
rails s
- Download npm https://nodejs.org/en/
- run
npm install
- run
npm start
TBA. Project still in development
TBA. Project still in devlopment
All contributers welcome.If you would like to contribute just ask(permission granted upon request)
- Nicky Dover - helped me set up part of my backend https://github.com/NickyEXE
- Randy Herasme - helped me redesign components for better functionality https://github.com/randyher
GNU General Public License v3.0 @ Gurjot-Sidhu