Inventory management app for an imaginary sport equipment store.
The app has Categories, Equipments, Inventory and Locations. The app allows you to use CRUD operations on all of them.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need to have Node.js and npm (Node Package Manager) installed on your machine. You can download and install them from the official website (https://nodejs.org/en/).
- Clone the repository to your local machine
git clone https://github.com/IlyaEru/Sport-Equipment-Inventory.git
- Install NPM packages
npm install
- Create a .env file in the root directory of the project and add the following environment variables:
MONGO_DB_ATLAS_URI - MongoDB Atlas connection string OR MONGO_DB_LOCAL_URI - MongoDB local connection string (if you want to use local MongoDB instance, BUT you need to have MongoDB installed on your machine and running, Also you need to change the name where MONGO_DB_ATLAS_URI is used)
- Populate the database with some data
npm run populate
- Run the app
npm start
The application will now be running on http://localhost:3000.
- TypeScript - Typed superset of JavaScript
- Express - Web framework for Node.js
- EJS - Embedded JavaScript templating
- MongoDB - NoSQL database
- Mongoose - MongoDB object modeling tool
- Sass - CSS preprocessor
- Jest - JavaScript testing framework
- Mongodb-memory-server - MongoDB in-memory server for testing