Welcome to the Fullstack Candy Shop project! This project is built using SolidStart, a JavaScript framework designed to build SolidJS apps and deploy them to a variety of providers.
- π Shopping Cart: Add and manage your candy items.
- π Dark Mode: Toggle between light and dark themes.
- βοΈ SolidJS Components: Efficient and reactive components.
- π Server-Side Rendering: Fast initial load times.
- π¨ Tailwind CSS: Beautiful, responsive design.
Here's a quick overview of the project's structure:
src/
βββ context/
βββ lib/
βββ routes/
β βββ api/
β βββ product/
β β βββ [productId].tsx
β β βββ about.tsx
β β βββ cart.tsx
β β βββ index.tsx
βββ styles/
β βββ _variables.scss
β βββ global.css
β βββ index.scss
βββ types/
βββ app.css
βββ app.tsx
βββ entry-client.tsx
βββ entry-server.tsx
global.d.ts
.editorconfig
.env
Follow these steps to get the project up and running on your local machine:
-
Clone the repository:
git clone https://github.com/andrenormanlang/fullstack-candy-shop-solid-start.git cd fullstack-candy-shop-solid-start -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
This project uses SCSS for styling. Make sure to compile your SCSS files to CSS using the following command:
npm run build:css- Start Development Server:
npm run dev - Build for Production:
npm run build - Compile SCSS:
npm run build:css
Contributions are welcome! Feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.
- Thanks to the SolidJS and SolidStart teams for their amazing work!
- Icons by solid-icons
Feel free to reach out if you have any questions or suggestions!
Happy Coding! π