![New Value's Logo](https://github.com/mariandrean/NewValue-Blog/raw/dev/client/src/assets/readme-img/new-value-readme-logo.png)
![Factoria F5 Logo](https://github.com/mariandrean/NewValue-Blog/raw/dev/client/src/assets/readme-img/logo-factoriaf5.png)
This is the final project of our web development bootcamp, created in collaboration with New Value.
Throughout May, we've developed a dynamic and modern News Management Tool for New Value to share quality content with their audience.
This project has been a rewarding challenge, allowing us to refine our fullstack development skills while building an intuitive, efficient,
and visually appealing platform using the latest technologies and best practices.
This project features two roles: admin and news moderators. While everyone can access the blog and read the news, moderators have the ability to create, edit, and delete articles.
The admin has all these capabilities plus the ability to register new users (moderators). User sessions are securely encrypted with usernames and passwords to ensure data protection.
git clone https://github.com/mariandrean/NewValue-Blog
cd NewValueNews
- First create the file .env located in the folder server.
- Copy the information placed on .env_example and fill it with your personal data.
No need to set up a local database because our database is hosted on a server. This allows anyone to upload news articles without needing a local DB.
cd server
npm i
cd server
npm i
npm run test
Click on this link to obtain our Postman information about the CRUD methods.
You can view, add, edit, and delete the articles of our website on it.
Link for Postman Documentation
We have built the folder ecosystem for our project in the Front-end and Back-end in an orderly and methodical way. We have divided the project into two main folders called client and server, and we have organized the files in each one correctly for proper behavior and understanding of the repository.
Here are the most important ones:
Folder | Description |
---|---|
node_modules | Contains all the dependencies of your project. When you install packages using npm, they are stored here. |
db_server | Plays a crucial role in ensuring the proper functioning and security of the database server. |
src | This is where the source code of your React application resides. It typically contains the following subfolders:
|
Folder | Description |
---|---|
__test__ | Contains all the test files. |
controllers | Handles HTTP requests. |
database | Configuration of connections with the database. |
helpers | Contains import and export validations from express-validator. |
interfaces | Defines data structures for consistent communication. |
middlewares | Handles request processing and control flow. |
models | Contains the models of the News and User. |
utils | Provides reusable functionalities. |
validators | Contains the validations of the News and User. |
routes | Organizes API endpoint definitions. |
Contributions are welcome! If you find any problems or have suggestions for improvement,
Fork this repo and create an issue or make a pull request.