A web application for storing and sharing copypasta text, making it easy to search and copy content for various uses.
Feel free to test out the demo website deployed on Vercel here.
To run the project, follow these steps:
- Clone the repository:
git clone https://github.com/thanhkowibu/van-mau-archive.git
cd van-mau-archive
- Install dependencies:
- For the client:
cd client
npm install
- For the server:
cd api
npm install
- Configure environment variables:
- Create a
.env
file in theapi
directory with the following content:
PORT=5000
CLIENT_URL=http://localhost:5173
CONNECTION_STRING=your_postgresql_database_url
JWT_KEY_ACCESS=your_jwt_access
JWT_KEY_REFRESH=your_jwt_refresh
- Create a
.env
file in theclient
directory with the following content:
VITE_BASE_URL=http://localhost:5000
- Run the development servers:
- Start the client:
npm run dev
- Start the server:
npm run dev
- Access the application:
- Open your browser and go to
http://localhost:5173
for the client andhttp://localhost:5000
for the API server.
- Text Search and Copy: Easily search for specific copypasta text and copy it to the clipboard.
- User Authentication: Secure login and registration with JWT-based authentication.
- Text Submission: Users can create, update, delete own copypasta text.
- Responsive Design: Optimized for various devices with a user-friendly interface.
- React with TypeScript and Vite
- TailwindCSS for styling
- ExpressJS with TypeScript for server-side logic
- PostgreSQL for the database
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Open a pull request.
If you find this project interesting, please leave a star on the repo!