CodeArch is a simple application for storing and managing code snippets. It includes user authentication, basic CRUD operations for snippets, and a straightforward interface built with Node.js, Express, and EJS.
- User Authentication: Secure session-based sign-in/sign-out.
- Snippet Management: Create, view, and delete code snippets.
- Dashboard: Displays saved snippets for each user.
- UI Elements: Includes a gold wave section and a basic shimmering text effect.
-
Clone the repo:
git clone https://github.com/your-username/codearch.git cd codearch -
Install dependencies:
npm install
-
Create a
.envfile:MONGODB_URI=mongodb://localhost:27017/codearchdb SESSION_SECRET=supersecret PORT=3000
-
Run the server:
npm start
Access the app at http://localhost:3000.
- Sign In/Sign Up:
Navigate to/auth/sign-upor/auth/sign-in. - Dashboard:
Create snippets, view existing ones, and delete any you no longer need.
- Node.js & Express
- Mongoose (MongoDB)
- EJS templating
- Express-session & method-override
- Snippet Sharing: Generate shareable links or a VIP lounge for advanced snippet collaboration.
Feel free to fork this repository, open issues, or submit pull requests with features, fixes, or improvements.
Distributed under the MIT License.
Thank you for checking out CodeArch. I hope my Code Archive enhances your coding experience!