- Programming Language: JavaScript
- Framework: Node.js
- Database: MongoDB
- Testing Framework: Jest
- User authentication
- CRUD operations for assets
- Comprehensive logging
- RESTful API
- Clone the repository:
git clone https://github.com/Spore301/site-audit.git - Navigate to the project directory:
cd site-audit - Install dependencies:
npm install - Run the application:
npm start
site-audit/
├── src/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── server.js
├── tests/
├── .env
└── package.json
POST /api/auth/login: User loginPOST /api/assets: Create a new assetGET /api/assets: Retrieve all assetsGET /api/assets/:id: Retrieve a specific assetPUT /api/assets/:id: Update an assetDELETE /api/assets/:id: Delete an asset
For detailed documentation, please refer to the Wiki.