Welcome 👋
Patois API
Patois API is a RESTful API built with Express.js that provides access to a collection of expressions and words from various French regional languages, including Breton, Occitan, Alsatian, Corsican, and more.
The API is designed to be simple and easy to use, with endpoints that allow users to retrieve expressions by language, search for specific words or phrases, and get random expressions for inspiration.
The backend of the application is built using Express.js, a popular Node.js framework for building web applications. I used MongoDB as the database to store the expressions and words, taking advantage of its flexible schema design to accommodate the diverse range of languages and dialects.
The API includes proper error handling and validation to ensure that requests are processed correctly and that users receive meaningful responses. I also implemented pagination for endpoints that return large datasets, improving performance and usability.
Also, I used JWT (JSON Web Tokens) for authentication and authorization, ensuring that only authorized users with a certain role can access certain endpoints and perform specific actions.
And, displaying a front page using express static to explain how to use the API and provide examples of requests and responses.
Patois API is a valuable resource for anyone interested in exploring the rich linguistic heritage of France. It showcases my skills in building RESTful APIs with Express.js, working with NoSQL databases like MongoDB, and creating user-friendly interfaces for data retrieval.


