An e-commerce platform for UCSD students to exchange and sell goods.
Low-Price Center is designed to help UCSD students exchange and sell goods in a streamlined, centralized way. Instead of posting to Reddit or other similar websites, they'll have a more secure and organized place to buy and sell goods with each other on campus. It will also be a resource for student organizations to sell merchandise without having to build their own portals.
This project is a part of CSES Open-Source, and will transition to a full open-source project once there is an MVP. The current goal is to get a basic version of the site up and running so that it'll become easier to contribute to.
- Install VSCode and the latest version of Node.js.
- Clone the repository to your own computer.
- In both frontend and backend folders, run
npm install
. - Add the environmental variables (contact @chase-of-the-fjords for these).
- Start two terminals.
- In the first terminal, cd into the backend folder and run
npm run start
. - In the second terminal, cd into the frontend folder and run
npm run dev
.
- Download the Prettier extension in VSCode.
- Set Prettier as the default formatter.
- Set Prettier to format on save.
- Download the Tailwind CSS IntelliSense extension in VSCode.
- Add .*Styles.* to class attributes in settings.
When working on the project, aim to always branch from dev
instead of main
. This is where the currently development version will be stored.
Branches should be named with the prefix/description
format (i.e. feature/create-product
). Below are a list of the prefixes we'll be using:
feature
: Use for new features.bugfix
: Use for bugfixes.experiment
: Use for experiments - these will rarely be directly added todev
.merge
: Should be used to merge branches that have messy conflicts before doing a PR intodev
.
When you finish your work in a branch, create a PR into dev
and request for review from @chase-of-the-fjords. Add a description of the changes made following the format provided.
If you're having errors with committing, run npm run lint-fix
(Linting is currently disabled, so this shouldn't be an issue).
Chase Peterson
@chase-of-the-fjords
Version 0.0
- Created skeleton code in preparation for the kickoff of the project.
This project is licensed under the MIT License - see the LICENSE.md file for details.