Skip to content

PWA Note taking app v2 with markdown, dark mode, storybook, clean arquitecture

License

Notifications You must be signed in to change notification settings

elVengador/palace-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palace App

preview

Introducing Version 2 of my note-taking app! After using Version 1 and noticing its limitations, I have made improvements:

  • Now you can style your notes using markdown.
  • Notes are presented in cards for a better look.
  • Enjoy a dark theme for a comfortable experience.
  • It's a Progressive Web App (PWA), meaning you can install it on both desktop and mobile.

I decided to use all my new knowledge and skills at that time to build a complete project:

  • Frontend: Created with React, GraphQL, TypeScript, testing, and using atomic design principles. Styling is done with Sass, and it's also a Progressive Web App (PWA).

  • Design: Designed using Figma, I followed the design rules like contrast, spacing, grouping, consistency, etc.

  • Backend: Built with Express, MongoDB, Redis, GraphQL, and includes an authentication module.

  • DevOps: Implemented GitLab CI for continuous integration, Docker for containerization, and Nginx for serving. There's a reusable core for both frontend and backend.

  • Testing: I had plans to use Jest for functions, the Testing Library for components, and Cypress for testing flows. However, due to the development of Version 3 of my note-taking app, I may not be able to implement these testing features.

Now, I'm moving to Vercel for hosting, so I'm no longer using my previous CI/CD setup with GitLab, Docker, and Nginx.

Conceptual Design

Initially, I envisioned adding many features, and I called the whole thing 'mind nodes.' However, after thinking about it and embracing simplicity, I decided to keep it simple. The main idea for this app is like having a memory palace, that's why it's called 'Palace.'

How to run this application

# install dependencies
npm i

# get submodule files
git submodule init
git submodule update

# generate certification
cd certs 
mkcert localhost

# set up the enviroment variables
cp .env.example .env

# run with webpack on https://localhost:4000/
npm run dev

Architecture

Clean Architecture with shareable frontend core, these are the layers:

  • Domain: Definition of entities and use cases
  • Application: Controllers, implementation of use cases
  • infrastructure: Third technologies around the application (web, DBs, ...)
  • Presentation: Views structure by atomic design

Clean Architecture Image

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Contact

If you have questions, get in touch with Jimy at dev.jimynicanor@gmail.com.

About

PWA Note taking app v2 with markdown, dark mode, storybook, clean arquitecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published