An open API service indexing awesome lists of open source software.

https://github.com/mariangle/penpal

Full-stack app built using Next.js, TypeScript, Prisma and TailwindCSS
https://github.com/mariangle/penpal

mongodb prisma tailwindcss typescript

Last synced: 3 months ago
JSON representation

Full-stack app built using Next.js, TypeScript, Prisma and TailwindCSS

Awesome Lists containing this project

README

          



typing test screenshot

PenPal




A full stack application built with Next.js and TypeScript.


Introduction ·
Tech Stack ·
Usage ·
License ·
Acknowledgements




License



## Introduction

Penpal is a full stack application designed to simulate the traditional experience of writing physical letters. It achieves this by incorporating delays in delivery time based on the geographical distance between users. The purpose of Penpal is to serve as a foundation for building a larger full stack application using the new Next.js app router. This expansion aims to enhance the application's API routes and responses, providing a more advanced user experience.

Here are some key features:

- [Text editing](#text-editing)
- [Mailbox](#mailbox)
- [Reviewing System](#reviewing-system)

### Text Editing

You can easily use the text editor that enables easy text formatting, image uploading and editing capabilities. Once your letter is sent, you will receive an estimated delivery time which will be based on the distance between you and the recipient.

![Text Editor](https://github.com/mariangle/penpal-next-ts/assets/124585244/7d640bcc-38e9-4b47-93d3-b7cf11c7371b)

### Mailbox

Your letters are organized into different categories: Inbox, Sent Letters, and Pending Letters. The categorization depends on the status of each letter.

![Mailbox](https://github.com/mariangle/penpal-next-ts/assets/124585244/5076cb03-dd8d-4b0b-8e90-21ecf36f9c47)

### Reviewing System

Reviews will appear on a user's profile.

![Reviews](https://github.com/mariangle/penpal-next-ts/assets/124585244/506c9b5a-786b-439f-9dbb-1cbf2b4de69b)

### Other features

When registering you are automatically assigned your country.

![Login](https://github.com/mariangle/penpal-next-ts/assets/124585244/2efb56e8-aa8e-48a2-b7e6-73905e93d1d3)

You can edit your profile and use the dark theme in the user navigation menu.

![Personalized profiles](https://github.com/mariangle/penpal-next-ts/assets/124585244/e7bd830d-f0bb-4ef0-86d7-c0f04a045283)

## Tech stack

- [Next.js](https://nextjs.org/) - framework
- [TypeScript](https://www.typescriptlang.org/) - language
- [Tailwind](https://tailwindcss.comm) - CSS
- [MongoDB](https://mongodb.com) - database
- [NextAuth.js](https://next-auth.js.org/) - auth
- [Vercel](https://vercel.com/) - hosting

## Usage

To access the app, you can log in using the provided test account. Please note that some actions may be restricted, but you'll still be able to send and receive letters.

**Test Account Credentials:**

Email: test@email.com

Password: test

## License

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Acknowledgements

- dub.sh
- shadcn
- date-fns