- π About the Project
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- β FAQ
- π License
Coders-Hub application allows user to reverse different online classes depending on their preferences. They are the assigned a mentor for each course and also get to choose how long that want to participate on the course.
- HTML
- CSS
- JS
- React
- Redux
- Rails API
Client
Using the project will help you to :
- See online classes to attend
- Reserve a class to attend
To get a local copy up and running follow these simple example steps.
In order to run this project you need:
- Node js installed on your computer
- Npm Node package manager
- Terminal
- Code editor preferably Vscode.
π Clone this repository by using the command line :
git clone https://github.com/manq2010/Book-An-Appointment-Front-End
π Clone back end repository by using the command line :
git clone https://github.com/Cluab/Book-An-Appointment-Back-End
π Add the .env
file to the root folder of the current repo (Front-End)
π Add the following lines on the .env
file
REACT_APP_BACKEND="http://localhost:3000/api/v1"
REACT_APP_CLIENT_ID="tqiRUMtQta0eEw6lp3X9iPQK8n5ZlS7OmiKLK0eHJoI"
REACT_APP_CLIENT_SECRET="sAaKljs__17vKbKoVT8G_Jsw-dMrOP8N4i_aPBEjcLQ"
NB: Using the above details on your .env
file will not work as each devices needs its unique REACT_APP_CLIENT_ID
and REACT_APP_CLIENT_SECRET
details, use the step below to generate for your device
π Please use this link to go to the back-end part of this project.
π On the Back-End Repo, run the seed file by using the command line :
rails db:seed
π Open rails console by using the command line from the Back-End repo cloned above:
rails c
π Run the following code on the rails console :
Doorkeeper::Application.find_by(name: 'React')
π Replace the REACT_APP_CLIENT_ID
on the .env
file with the id shown on the console :
uid: "tqiRUMtQta0eEw6lp3X9iPQK8n5ZlS7OmiKLK0eHJoI"
π Run the following code on the rails console :
Doorkeeper::Application.find_by(name: 'React').secret
π Replace the REACT_APP_CLIENT_SECRET
on the .env
file with the id shown on the console :
=> "sAaKljs__17vKbKoVT8G_Jsw-dMrOP8N4i_aPBEjcLQ"
NB: The .env
file should look similar to the example above once your unique id and secret key are generated
Install this project with:
- for the front end rep
npm install
- for the back end repo
bundle install --force
To run the project, execute the following command:
- for the back end repo
rails s
- for the front end rep
npm start
Use the below details to login
as admin
email: admin@example.com
password: password
If you want to login as normal user, follow the sign-up process.
To run tests, run the following command:
npm test
You can deploy this project using:
npm run deploy
π€ Mancoba Sihlongonyane
- GitHub: @manq2010
- Twitter: @mancoba_c
- LinkedIn: mancobasihlongonyane
π€ Ibrahim Suhail Al-Yousefi
- GitHub: @cluab
- Twitter: @cluab122
- LinkedIn: Ebrahim Al-Yousefi
- Instagram: @27.i.b
π€ Krishna Prasad Acharya
- GitHub: @krishnabot
- Twitter: @last_matrix
- LinkedIn: @Krishnabot
π€ Frehiywot Nega
- GitHub: @frnega
- Twitter: @twitter
- LinkedIn: @frehiywot-nega
π€ Idrissa makoba omar
- GitHub: omarbabou
- LinkedIn: Idrissa makoba omar
- twitter: BabouOmar3
π Kanban board link
π Kanban board Development link
π This project was authored by Four contributors as described in the the Authors section bellow.
π Please use this link to go to the back-end part of this project.
- Remove reservations made by user
- Add email confirmation to access website when creating a profile
- Edit online classes and reservation
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a βοΈ if you like this project!
- Thank you Microverse for the project
- Original design by Murat Korkmaz
-
How to use the project
git clone https://github.com/manq2010/Book-An-Appointment-Front-End
-
How to contribute to the project
- Fork it by using
fork
button, or you can contact me.
- Fork it by using
This project is MIT licensed.