Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benraouanesoufiane/ecommerce-react-tailwind

Basic/very simple ecommerce IT Store built with react & tailwind (optimized by astro ramework)
https://github.com/benraouanesoufiane/ecommerce-react-tailwind

ecommerce ecommerce-website react reactjs tailwind tailwindcss

Last synced: 4 days ago
JSON representation

Basic/very simple ecommerce IT Store built with react & tailwind (optimized by astro ramework)

Awesome Lists containing this project

README

        

# Ecommerce with react & tailwind
Basic IT Store built with react & tailwind, not all things are functionable, this is just PoC/sample
live example: https://itstore.cryptocheckout.co

## Getting started
### installation
```
npm install
```
### Developement
Before start, you may need to change ports/urls in astro.config.mjs, products.tsx, checkout.tsx (api calls endpoint's host port) server.mjs & edit the authorizations like access-allow-origin,...
In first terminal run:
```
npm run dev
```
In second terminal run:
```
node server.mjs
```
### Production
Before start, you may need to change ports in astro.config.mjs, products.tsx, checkout.tsx (api calls endpoint's host port) server.mjs & edit the authorizations like access-allow-origin,...
Add your certificates, the port will be 443 & also 80
In first terminal run:
```
npm run build
node server.mjs
```
If you'de like to run it definitively run it with nohup & pm2

## Enjoy :)