Feminist Bible is an inclusive space for all. A place where we understand, acknowledge, and leverage diversity by creating an inclusive ecosystem powered by content, culture, and community.
Build a sign up system from scratch. We won't be using things like passport js. Use bcrypt js for hashing the things. You can work on this issue once the user schema is created.
Refer to the design (Header 2 frame) and add the button and avatar to the existing header components. These two elements will be shown only when the user is logged in. Use states in React.
As we are making an API so we would have to send response status codes. Therefore we should have the status codes (those which are commonly used) mentioned in the readme file of the backend, so that everyone uses the same set of status codes.
Under controllers directory in userController create a function to create a story . (It's for the scenario when users will write some story (post) ). Add a route and link this to the controller function. Please attach a screenshot of the response in the PR ( Test in postman)
In the site we are building , admins of an organization will add projects on which different members of the different organizations will collaborate on. We need the project title, project description, posted by ( the organization will be referenced), timestamps. For now just add these fields. Make a controller function to see all the organizations. Another controller function to get all the projects organization wise.
Use bcrypt js for encrypting the password. Use nodemailer to send the reset password email. On clicking the link user will have the option to enter new password and confirm password. Encrypt the password and save it to database. Let the user schema be created first then work on this
Create an organization schema. It should includes fields name, email, totalMembers, password. These fields are enough for now. We will add other fields later on.
When some organization will post some story it must be approved by the admin. Make the routes and controller function. For reference look at the approval system of organization registration
It should have name, author, make author reference type. One field for storing the image for the story. Time when the story was posted. Heading of the story.
In our website some organizations will request for registration and soon they will register approved : false will be there in database.
So the admins should be able to see the approval requests. So that they can either accept or decline them. Make two other controller functions which will allow admin to accept the approval or to decline. Keep all these approval thing inside the adminController.js file