Skip to content

Latest commit

Β 

History

History
106 lines (73 loc) Β· 2.44 KB

File metadata and controls

106 lines (73 loc) Β· 2.44 KB

🍭 Fullstack Candy Shop with SolidStart 🍬

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.

🌟 Features

  • πŸ›’ 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.

πŸ“‚ Project Structure

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

πŸš€ Getting Started

Follow these steps to get the project up and running on your local machine:

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/andrenormanlang/fullstack-candy-shop-solid-start.git
    cd fullstack-candy-shop-solid-start
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev
  4. Open your browser and navigate to http://localhost:3000

🎨 Styling

This project uses SCSS for styling. Make sure to compile your SCSS files to CSS using the following command:

npm run build:css

πŸ› οΈ Commands

  • Start Development Server: npm run dev
  • Build for Production: npm run build
  • Compile SCSS: npm run build:css

🀝 Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue.

πŸ“œ License

This project is licensed under the MIT License.

✨ Acknowledgements

  • Thanks to the SolidJS and SolidStart teams for their amazing work!
  • Icons by solid-icons

πŸ“¬ Contact

Feel free to reach out if you have any questions or suggestions!

Happy Coding! πŸŽ‰