Make sure you run this on [email protected] or lower
Please implement web application which is able to show murmur(=tweet) by user. (this application is similar to Twitter)
- The user can follow other users.
- By following, a list of murmurs posted by other users is displayed in the timeline.
- The user can post murmur as many times as he wants.
- Only the user who posted can delete his murmur.
- The user can add LIKE to another person's murmur.
- [optional] User authentication.
There are two sample tables in this application. Please consider and add columns to below tables. Further more I think you need more tables, so it's possible to add new tables depending on below specification.
e.g.
- murmurs
- users
Please implement REST API. There are three sample endpoints below. I think you need more endpoints, so you add more endpoints as needed.
e.g.
[GET] /api/murmurs/
[POST] /api/me/murmurs/
[DELETE] /api/me/murmurs/:id/
Please implement below function. If you want to add new function after complete to implement below function, it's possible to add and we evaluate your original function.
- Timeline
- List of Murmur information (e.g. text, LIKE count)
- LIKE button each murmur.
- Show 10 murmur per page. (need to implement pagination)
- Murmur Detail
- Murmur Information (e.g. text, LIKE count)
- Own User Detail
- User information (e.g. name, followCount, followedCount)
- List of own murmurs
- Button for delete a murmur
- Other User Detail
- User information (e.g. name, followCount, followedCount)
- List of the user's murmurs
- You can proceed with the implementation freely.
- Of course, you can also search the Web or refer to the books you have.
- The deadline is one week after the assignment is handed over. The date and time will be announced separately.
- Please aim to implement all the features in client and backend. CSS is not evaluated, so the minimum design style is fine.
- You can ask any questions about the content. If any question, please send email to [email protected] , [email protected] , [email protected] . Please note that I do not guarantee an immediate reply.
- Download
webapp_test-main.zip
from email. - Create repository for your private GitHub account and push unzipped files to main branch.
- Give the administrator privileges of the repository to the following Github ids.
・ ojimac - Create
develop
branch from main. - Create the feature branch for your develop branch, submit a pull request as appropriate, and merge it into your develop branch.
- When development is complete, create a Pull request from develop branch to main branch, and write Appeal Points, Implemented Features, Unimplemented Features and Impressions for this webapp test to the Pull request overview.
- Typescript
- Javascript
- /src -> Frontend
- /server -> Backend
- /db -> Database
It is assumed that node(v12.x.x), npm and yarn are installed. The ability to build a development environment is also the subject of this test, so even if an error occurs, please resolve it on your own.
sample
$ node -v
v12.18.3
$ npm -v
6.14.6
$ yarn -v
1.22.4
- cd db && docker-compose build
- docker-compose up -d
- cd server && npm run ts-node index.ts
- cd src && yarn dev
- You access to http://localhost:3000/
- It's success if render html.