JINDAL-JJ / UniVendor

We are acting as an intermediate through our project between the student and senior of the colleges to share or sell the materials or things(like books, calculator, etc.) which would be very helpful in college times.
MIT License
3 stars 11 forks source link

Create whole backend for user while posting details of a product to sell. #3

Closed JINDAL-JJ closed 3 years ago

JINDAL-JJ commented 3 years ago

Create a basic HTML form in the "views" folder named "sell_product.js" and pass its information into the database by setting up a controller following the route "/users/createPost". Also, change the schema of the product according to requirements under "/models/post.js". The form must include the name of product, type(books/electronics/other), images(max 3), expected price. It will be required to set up the "Multer" library to accept images of a product by a user. (for reference, you can take a look over commented portion in "controller/user_controller.js".

abhinav5481 commented 3 years ago

Hi, I would like to work on this. Could you please assign it to me?

JINDAL-JJ commented 3 years ago

Yeah, this issue is assigned to @abhinav5481, ensure to create a pull request in 4-5 days. Also, join discord server provided in Readme for further queries.