ArtisanGig is a web app that enables users to connect with local artisans to get the services they need. It allows artisans to register their artwork(s) and lets the users send feedback and ratings for the service received.
Frontend
- HTML
- CSS
- JavaScript
Backend
- Express.js
Database
- MySQL
ArtisanGig was built by a team of three colleagues, who were at the finish line of the ALX SE 9 months foundations; the name and roles of the team members were as follows:
Name | Role |
---|---|
Moses Isang | front end development (structure & styling), presentation |
Jerome Udoh | architectural structure, documentation, back end development |
Topman Paul-Dike | database schema/design, APIs, documentation, deployment. |
/user/sign_up
: This API is used for user sign up./user/sign_in
: This API is used for user authentication and sign in./user/delete
: This API is used to delete user account alongside all data belonging to the user./user/update
: This API is used to update the information of the user, but the email.
/artworks/
: This API is used tocreate
artwork by providing information such as the category of the artwork, description, and artisan credentials../artworks/:artwork_id
: This API is used toupdate
any artwork initially created./artworks/:artwork_id
: This API is used toretrieve
info about an existing artwork./artworks/:artwork_id
: This API is used todelete
an artwork initially created./artworks/category
: This API is used to view all artworks available in the category of choice./artworks/all
: This API is used to view all the artworks registered.
/feedback
: This API is used to send feedback and ratings
Firstly, beware that the web pages are not mobile responsive
To use the app or to see how it works, simply visit the website https://artisangig.vercel.app, sign up and sign in. However, if you are a developer and will like to run the app on your computer, locally. Follow the instruction below:
To install and run the app locally:
- git clone the repo
- navigate into the server-side folder,
cd server-side
- run
npm install
- Have MySQL installed on your localhost and copy & paste the commands in artisan_gig.sql in your MySQL.
- have a
.env
file with the needed credentials to connect to MySQL (do this on the server side) - Then run the app on your local server, frontend or port 5000 and backend on port 4001, or use Postman to interact with the APIs directly.
The frontend and the APIs are hosted on Vercel, while the database is hosted on clever-cloud, and they are all connected.
Please read CONTRIBUTION.md for details on our code of conduct, and the process for submitting pull requests.
For any help and support, please contact me.