https://github.com/graffiti75/e-co
A complete E-Commerce created using Node JS, Vite, React with TypeScript, Mongo DB and Google Cloud Platform (Cloud Run)
https://github.com/graffiti75/e-co
cloudrun e-commerce gcp gcp-project google-cloud-platform mongodb mongoose mongoosejs node node-js nodejs react typescript vite vite-plugin vite-react
Last synced: 8 months ago
JSON representation
A complete E-Commerce created using Node JS, Vite, React with TypeScript, Mongo DB and Google Cloud Platform (Cloud Run)
- Host: GitHub
- URL: https://github.com/graffiti75/e-co
- Owner: graffiti75
- Created: 2025-04-21T04:03:16.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-06-05T18:48:27.000Z (8 months ago)
- Last Synced: 2025-06-05T19:42:20.064Z (8 months ago)
- Topics: cloudrun, e-commerce, gcp, gcp-project, google-cloud-platform, mongodb, mongoose, mongoosejs, node, node-js, nodejs, react, typescript, vite, vite-plugin, vite-react
- Language: TypeScript
- Homepage: https://graffiti75.github.io/E-Co/#/auth
- Size: 1.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Changes to publish in GitHub Pages
```
npm run build # To run eveytime I want to update the GitHub website
npm install --save-dev gh-pages
npm run deploy # To run eveytime I want to update the GitHub website
```
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
```js
export default tseslint.config({
extends: [
// Remove ...tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
'react-x': reactX,
'react-dom': reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs['recommended-typescript'].rules,
...reactDom.configs.recommended.rules,
},
})
```