A Node.js backend server for the Color Hunt project that manages color palette data through a RESTful API.
The Color Hunt Server provides a robust backend solution for managing and retrieving color palettes. It handles database connections and offers various endpoints to query color palettes based on different conditions, making it perfect for design applications and color discovery tools.
- 🎯 RESTful API for color palette management
- 🗄️ Database integration for persistent storage
- 🔍 Advanced palette filtering and search capabilities
- 📊 Support for various query conditions
- 🚀 Fast and efficient data retrieval
- Node.js (v14 or higher)
- npm or yarn
- Database (MongoDB)
- Clone the repository:
git clone <repository-url>
cd color_hunt/server- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env- Start the server:
npm startGET /api/palettes
GET /api/palettes?condition=<value>
Run the test suite:
npm testRun tests with coverage:
npm run test:coverageserver/
├── services/
├── modules/
├── routers/
├── tests/
└── utils/
├── package.json
└── README.md
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ for the Color Hunt project