This is a simple task management app created for the CVWO assignment. Done by: Ng Qi Ting, A0233137M
- Fork this repo.
- Clone your forked repo.
- Open your terminal and navigate to the directory containing your cloned project.
- Install dependencies for the project by entering this command:
yarn install
- Run the app in development mode by entering this command:
yarn start
- Open another terminal and navigate to the backend file located in the same directory.
- Install backend dependencies by entering this command:
go get .
- Start the backend server by entering this command:
go run server
- Open http://localhost:3000 to view it in the browser.
This is the main file structure
.
├── node_modules
├── backend
├── public
├── src
├── README.md
├── tsconfig.json
├── package.json
├── .eslintrc.js
├── .prettierrc.js
└── yarn.lock
Main directories/files to note:
backend
contains all the backend source code and server data.src
usually includes all your source code. That is where most of your functional code will be.README.md
is a form of documentation about the project. It is what you are reading right now.package.json
contains important metadata, for example, the dependencies and available scripts in the project..eslintrc.js
contains the configuration for ESLint. ESLint is a tool to help enforce code consistency..prettierrc.js
contains the configuration for Prettier. Prettier is a tool to help format code.
Try changing some source code and see how the app changes.
- This project uses Typescript.
- The linting and code formatting rules are specified in
.eslintrc.js
and.prettierrc.js
respectively. You may modify the rules. - The available scripts are in
package.json
. Here are some scripts that you are likely to use more often:yarn start
yarn lint:fix
yarn format:fix
This project was bootstrapped with Create React App. This project uses MUI, TypewriterJS, ESLint, Prettier.