uix-bangazon-lite-musty-magnets created by GitHub Classroom
Bangazon Lite is your one stop shop for buying and selling homemade products! Musty-Magnets offers a web based platform for both buyers and sellers to conduct their business with a streamlined user interface provided by React JS.
Want to contribute to the amazing experience that is Bangazon Lite? Great!
Just follow these steps to get started!
Open your terminal and create, then cd
into a new local repository that will hold the files of your Bangazon Lite project.
Run git clone https://github.com/nss-day-cohort-24/uix-bangazon-lite-musty-magnets.git
Once complete you need to navigate into the correct folder to begin development. This should do the trick:
cd uix-bangazon-lite-musty-magnets/bangazon
Now we need to verify that all files were cloned into your repository by running ls -a
.
This is a list of files that clone with the current version of Bangazon Lite:
DONOTREADME.md
package.json
db.json
styleguide.config.js
You should also see folders for src
and public
. We'll dive into file structure later. For now, lets move on to installing the core dependencies for Bangazon.
Bangazon is built upon the React JS framework to offer users an intuitive interface and experience. This means we need to install React, along with some of its dependencies before development can start. Learn more about React.
On the command line, ensure you are in your project's bangazon
folder, then run npm install
. This will reference the package.json
file in your repo and install all dependencies listed within the file.
To learn more about the project's dependencies click on the appropriate link below!
Bangazon uses JSON-Server to maintain user data, including orders, sales and profile data. JSON Server provides an easy to use platform for building scalable & maintainable data structures. Below you will find an image of our data table for reference. To get started using JSON Server on your local machine, follow the steps below!
npm install -g json-server
from the command line.json-server --watch db.json
from the command line. This command will start the database server. If successful, the resulting dialog should return this:json-server --watch db.json
\{^_^}/ hi!
Loading db.json
Done
Resources
http://localhost:3000/order
http://localhost:3000/user
http://localhost:3000/product
http://localhost:3000/orders_Products
Home
http://localhost:3000
Type s + enter at any time to create a snapshot of the database
Watching...