npm run start
to start both front and backendnpm run dev:watch
to start only frontend + run linting and tests at startnpm run dev
to start only frontendnpm run test
to run frontend testsnpm run lint
to run frontend linting/styling enforcementnpm run build
to build the project (can be used for manual deployment)npm run start
to start both front and backendnpm run dev:watch
to start only frontend + run linting and tests at startnpm run dev
to start only frontendnpm run test
to run frontend testsnpm run lint
to run frontend linting/styling enforcementnpm run build
to build the project (can be used for manual deployment)
- React/TypeScript
https://youtube.com/playlist?list=PLNqp92_EXZBJ4CBroxVBJEpAXoz1g-naZ https://youtu.be/z8lDwLKthr8
https://youtu.be/Z5iWr6Srsj8 - MobX
- Tailwind CSS
- Other Documents
https://www.typescriptlang.org/docs/handbook/react.html
https://tailwindcss.com/docs/utility-first
https://nerdcave.com/tailwind-cheat-sheet
https://mobx.js.org/README.html
- Code editor of your choice (VSCode/Webstorm)
- Node.js
- NPM (Node Package Manager)
Installing Node.js + NPM: https://youtu.be/JcwHHpim-CY
npm install vite@latest
npm create vite@latest
then enter your project name- Navigate down to React -> TypeScript
cd {your_project_name}
code .
(to open up VSCode in that directory)npm install
npm run dev
(to check if it works)
- Install
PostCSS Language Support
extension on VSCode npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
- Your
tailwind.config.js
should look like this:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
}
- Put 👇 in all .css files, since we're writing Tailwind CSS
@tailwind base;
@tailwind components;
@tailwind utilities;
- If you're playing around with the skeleton and Tailwind doesn't seem to work — make sure to wipe all generated CSS from
App.css
andIndex.css
HTML CSS Support
ES7+ React/Redux/React-Native snippets
JavaScript and TypeScript Nightly
Tailwind CSS IntelliSense
Path Intellisense
Live Share
Live Server
- Login to/Signup for a Netlify account
ntl
and connect to your desired Netlify hosting reponpm run build
ntl deploy
ntl deploy --prod
- Make a new file under /public called
_redirects
with/* /index.html 200
inside it