Task Management is a React.js application designed for efficient tracking and management of daily tasks.
These instructions will help you set up the project on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed:
- Node.js
- npm (or yarn)
- Firebase CLI (for deployment)
Follow these steps to get your development environment running:
- Open command promt
- git clone ssh://[email protected]:2020/osm-training/reactjs/upskilling-oct23-dec23/nilesh-belurkar.git
- Navigate to the project directory
- cd task-management
- Install dependencies - npm install
- Start the development server - npm start
- This will run the app in development mode. Open http://localhost:3000 to view it in your browser.
Building the App for Production This command bundles React in production mode and optimizes the build for the best performance. Build the app for production - npm run build
Install Firebase CLI
If you haven't already installed Firebase CLI, do it by running:
command - npm install -g firebase-tools Login to Firebase
command - firebase login
Follow the on-screen instructions to log in.
command - firebase init Select Hosting when prompted for features to set up. Choose an existing Firebase project or create a new one. Set build as your public directory. Configure as a single-page app by answering yes. Do not overwrite build/index.html. Deploy to Firebase
firebase deploy After deployment, Firebase provides a URL to access your live app.