This repository conatins the code for a minimal bug tracker built as a challenge from CauseCode.
First of all thanks CauseCode for considering me and giving me this challenge. I chose to build a BugTracker application from the given list and This is what I came up with. Don't expect it to be a highly featurefull BugTracker it's just a minimal one which gets the job done. However the UI is kind of pretty.
I'm a big fan of custom CSS. So this project is done using only CSS3 and no other frameworks like BootStrap, Foundation etc. is used
- First I chose to split up the project in Back End and Front End part and chose Node, Express, MongoDB(with Mongoose) as my Back End stack.
- I chose React to develop the Front End.
- I started by building all the API's required for the project and then moved to the front end.
- Since React needs a lot of tooling to be set up. I used
create-react-appto make my life a little easier. - But since my server is running on port 3000. I have to run the fron end development server that comes with
create-react-appon port 3001. I've added anaccess-control-allow-originheader to make AJAX request to server. (JUST FOR DEVELOPMENT PURPOSE ONLY) - After developing the Front End. I used
yarn build(react-scripts build) to build the front end. And then served it using my express server.
- Showing error messages to the user when something that he is doing is invalid for our Schema. Actually I'm validating everything in the backend but not showing any Error to user.
- Can add search feature for the bugs and repository.
Prerequisites:
- You should have MongoDB, Node and npm installed on your PC.
- You should have MongoDB server listening on port
27017.
Let's run it:
git clonethe repository or download the.zip.cdinto the repository.- Run
npm install. - Wait... Get a Coffee.
- Run
npm run server. - Open up your favourite Browser and visit (http://localhost:3000).