We're live!
Sylica is an e-commerce platform for electronic devices.
This is the frontend service for the Sylica project. The project is created with the MERN stack (MongoDB, Express, React, and Node). It was developed by Joy Biswas, Saiful Islam, Mehedi Shohag, and Zeal Patel for our Fall 2021 CSc 45600 Topics In Software Engineering class at The City College of New York.
- Clone the repository
git clone https://github.com/saifulislamdev/sylica-frontend.git
- Install dependencies Run the following to install the dependencies
npm i
- Setup env file. Create an .env file in the root of the repository with the following environment variables.
REACT_APP_PROXY="http://localhost:5000/api" # proxy server (value shown is default)
All of the source code will be found in /src
folder.
Components go in the /src/components
folder.
Pages go in the /src/pages
folder.
Config, global constants, theme, context, helper functions, etc. go in the /src/util
folder.
Images go in the /src/assets
folder.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode with coverage.
See the section about running tests for more information.
Launches the test runner in the debug mode.\
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.