This is a fullstack website project developed using TypeScript. The application includes a backend built with Express and a frontend built with React using TypeScript.
- Fullstack web application.
- Backend: Express.js (pure implementation, and using dependency injection with Inversify).
- Frontend: React with TypeScript.
notes_app/
├── backend/ # Backend code
├── frontend/ # Frontend code
├── node_modules/ # Node.js modules
├── .gitignore # Git ignore file
├── install.sh # Shell script to install dependencies
├── package.json # NPM package configuration
├── package-lock.json # NPM lock file
└── README.md # Project documentation
Make sure you have the following installed:
- Node.js (v14 or higher recommended)
- npm (Node Package Manager)
- bash (for running shell scripts)
- Docker (for building and running containers)
- Docker Compose (for managing multi-container applications)
git clone <repository-url>
cd notes_app
chmod +x install.sh
./install.sh
npm run dev
npm run stg
npm run prod
NODE_ENV=development docker-compose build
NODE_ENV=staging docker-compose build
NODE_ENV=production MONGODB_URI=mongodb://mongo:27017/mydatabase SESSION_SECRET=mysecret docker-compose up --build
NODE_ENV=development docker-compose up
NODE_ENV=staging docker-compose up
NODE_ENV=production docker-compose up
docker-compose down
- Once the development server is running, open your browser and navigate to
http://localhost:3000
to access the frontend. - The backend will also be running, typically on
http://localhost:5001
(adjust according to the configuration).
This project is licensed under the MIT License.