Skip to content

Hopefully a MERN Typescript template for authentification/autorisation

License

Notifications You must be signed in to change notification settings

jonitoh/auth-react-express

Repository files navigation


logo

Auth-React-Express


README available in:


GitHub contributors GitHub repo size GitHub all releases GitHub tag (latest by date) GitHub license LinkedIn link


A minimal React project with an authentification/authorisation implementation from scratch and a server side made with Express.




Paused for now ...




🌱  About the project

For a more complex project, I need to implement authentification/authorisation. Therefore, I decided to do it in its own project and from scratch ( as much as possible ) so that I can understand all the concepts.

👨‍💻  Tech stack

  • MongoDB / Mongoose
  • Express
  • React
  • Typescript

📖  Usage


🚀  Getting started

There is a folder named server which concerns the backend using Express. The folder named client is the frontend implemented in React.

Each folder has a package.json file however a global package.json can be found at the root to start the application.

Here are some available scripts:

  • npm start: run the app in the development mode. Open http://localhost:3000 to view it in your browser.
  • npm test: lauch whatever test runner that has been used.
  • npm run build: builds the app for production.

⚙️  Requirements

  • Zustand is used for the global state managment ( so easier than redux ).
  • Chakra UI is an amazing component library to build beautiful React apps.
  • Mongoose, the documentation is so good.

👀  Examples

In preparation.

🎯  Features

  • [ ]
  • [ ]
  • [ ]
    • [x]
    • [x]

⚠️  Limitations

npm run build

I need to check if the build can be minified and the filenames include the hashes.

🤝  Contributions

Thanks in advance for anyone who will contribute to expanding this template!

😱 Found a bug? Missing a specific feature?

If you have any suggestion, please proceed by forking this repo and creating a pull request or opening an issue with the tag enhancement.

🤩 Don't forget to give the project a star! Thanks again!

📘  License

This project is released under the terms of the MIT License.

❤️  Acknowledgments

🏆 Here are the nominees, with no particular order, in the category for best resources used for this project:

front end


back end


other

👀  What else ?

Thanks again for reading this README !!!

Releases

No releases published

Packages

No packages published

Languages