frontend
: Contains the frontend code for the application, built using React.backend
: Contains the backend code for the application, built using Node.js and Express.
- User Authentication: Users can sign up and log in to access and manage their notes.
- Create Notes: Authenticated users can create new notes with a title, author, and text.
- View Notes: Users can view their existing notes.
- Delete Notes: Authenticated users can delete their notes.
To run the application, follow these steps:
- Navigate to the
backend
directory.cd backend
- Install the required Node.js dependencies.
npm install
- Start the backend server.
npm start
The backend server will run on port 3001 by default.
- Navigate to the
frontend
directory.cd frontend
- Install the required Node.js dependencies.
npm install
- Build the frontend application.
npm run build
- Start the frontend server.
npm start
The front-end server will run on port 3000 by default.
You can customize the backend API base URL by setting the REACT_APP_API_BASE_URL
environment variable when starting the frontend container. Make sure to set it to the backend server's URL.
If you prefer to use Docker for running the application, Dockerfiles are provided in both the frontend
and backend
directories. You can build Docker images and run containers using the provided Dockerfiles.
- Frontend: pythonicrahul/frontend
- Backend: pythonicrahul/backend
Contributions to this project are welcome. Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.