A platform for sharing and managing P5.js code snippets. This application allows users to create, share, and explore creative coding snippets made with P5.js.
- Create and share P5.js snippets
- Browse and explore other users' snippets
- User authentication system
- Interactive code preview
- Secure API endpoints
Before you begin, ensure you have installed:
- Clone the repository:
git clone [your-repository-url]
cd p5js-snippets
- Install dependencies:
npm install
- Create a
.env
file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
To start the server:
npm start
The application will be available at http://localhost:3000
(or your configured port).
├── public/ # Static files (HTML, CSS, client-side JS)
├── server.js # Main server file
├── package.json # Project dependencies and scripts
└── .env # Environment variables (create this)
- express: Web application framework
- mongoose: MongoDB object modeling
- bcrypt: Password hashing
- jsonwebtoken: JWT authentication
- dotenv: Environment variables management
- multer: File upload handling
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- P5.js for the amazing creative coding library
- All contributors and users of this platform