Skip to content

thanhkowibu/van-mau-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Van Mau Archive

A web application for storing and sharing copypasta text, making it easy to search and copy content for various uses.

Demo

Feel free to test out the demo website deployed on Vercel here.

Table of Contents

Installation

To run the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/thanhkowibu/van-mau-archive.git
cd van-mau-archive
  1. Install dependencies:
  • For the client:
cd client
npm install
  • For the server:
cd api
npm install
  1. Configure environment variables:
  • Create a .env file in the api 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 the client directory with the following content:
VITE_BASE_URL=http://localhost:5000
  1. Run the development servers:
  • Start the client:
npm run dev
  • Start the server:
npm run dev
  1. Access the application:
  • Open your browser and go to http://localhost:5173 for the client and http://localhost:5000 for the API server.

(back to top)

Features

  • 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.

(back to top)

Technologies Used

Frontend:

Backend:

(back to top)

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature/your-feature-name.
  5. Open a pull request.

(back to top)

Like this project?

If you find this project interesting, please leave a star on the repo!

(back to top)

About

Practice making Typescript Express API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published