Vikali seeks to create an online store for consumers so that it is simple to shop for your favorite items from the vast array of online shopping websites that are readily available on the internet. One may make purchases online from the comfort of their homes using our website.
- ActiveRecords
- Ruby and Sinatra - for backend and database
Once a user signs in, they are able to search for a product, add it to cart and leave a review on a particular product. Moreover, they are able to view their reviews on each product.
This repository has all the starter code needed to get a Sinatra backend up and
running. Fork and clone this repository to get started. Then, run
bundle install
to install the gems.
Important: Be sure you fork a copy of the repo into your GitHub account before cloning it. You can do this by using the link above or by clicking the "Octocat" button at the top of this page, then clicking "Fork" in the upper right corner of the repo page.
The app/controllers/application_controller.rb
file has an example GET route
handler. Replace this route with routes for your project.
You can start your server with:
bundle exec rake server
This will run your server on port http://localhost:9292.
Your backend and your frontend should be in two different repositories.
Create a new repository in a separate folder with a React app for your
frontend. To do this, cd
out of the backend project directory, and use
commands-below to generate the necessary code for your React frontend:
npm install - to install required dependencies
npm start - to get react-app running on a browser
MIT CopyrightⒸ 2022 Vikali.
- Adams Wonderboy - Scrum master
- Joseph Njenga - Front-end & Back-end Developer
- Sharon Nyamongo - Front-end & Back-end Developer
- Awadh Hassan - Front-end & Back-end Developer
- Barbra Mududa - Front-end Developer & Figma Designer