Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대휘
/
Do-gether
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김대휘
2020-06-29 01:49:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e51a8bc99a1ee3f398389b7cce405e9f72bc203a
e51a8bc9
1 parent
ec55db15
로그인 엔터 이벤트
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
16 deletions
README.md
client/src/pages/LoginPage.js
README.md
View file @
e51a8bc
# Do-gether
---
-------
---
Sharing your TODO-LIST with others!
<br>
Do-gether은 투두리스트를 다른사람들과 공유할 수 있도록 도와주는 동기부여 서비스입니다.
<br><br>
## HOW TO USE
---
-------
---
You can come here and use DO-GETHER.
<br>
[
`http://wwww.dogether.tk`
](
http://wwww.dogether.tk
)
![
main
](
/uploads/9dce27e61dc8a02f8fe0ab37dfaf4df5/main.png
)
<br><br>
## HOW TO INSTALL
---
------
### First, clone this project
---
###
#
First, clone this project
`git clone http://khuhub.khu.ac.kr/2019102153/Do-gether.git`
<br>
<br>
<br>
and execute this command.
```
sh
...
...
@@ -23,27 +23,27 @@ npm install
cd
client
npm install
```
<br>
<br>
<br>
### Second, install YARN.
###
#
Second, install YARN.
On Debian or Ubuntu Linux, you can install Yarn via our Debian package repository.
<br>
<br>
<br>
You will first need to configure the repository:
```
sh
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo
"deb https://dl.yarnpkg.com/debian/ stable main"
| sudo tee /etc/apt/sources.list.d/yarn.list
```
<br>
<br>
<br>
On Ubuntu 16.04 or below and Debian Stable,
<br>
you will also need to configure the NodeSource repository to get a new enough version of Node.js.
<br>
<br>
<br>
Then you can simply:
`sudo apt update && sudo apt install yarn`
<br><br>
Reference from
[
`YARN`
](
https://yarnpkg.com/en/docs/install
)
<br>
<br>
<br>
### Third, add "database.json"
you should add
`database.json`
in the following format.
...
...
@@ -56,13 +56,12 @@ you should add `database.json` in the following format.
"database"
:
"table name"
}
```
<br>
<br>
<br>
### Finally, you can use DOGETHER by using `yarn dev` in `Do-gether` directory.
###
#
Finally, you can use DOGETHER by using `yarn dev` in `Do-gether` directory.
<br><br>
### Error
--------
#### Error
In my case, an unknown error occurred when running
`yarn dev`
.
<br>
So I solved it as follows.
<br><br>
...
...
@@ -74,10 +73,11 @@ And change the `disableHostCheck: ...` option to `disableHostCheck: true`.
<br><br>
## Presentation File
---
You can check my presentation here.
[
2019102153_김대휘.pptx
](
/uploads/ec22aec2c186128329918ec641a54f73/2019102153_김대휘.pptx
)
<br><br>
## LISENCE
---
----
---
Do-gether is free software, and may be redistributed under the terms specified in the
[
MIT LICENSE
](
http://khuhub.khu.ac.kr/2019102153/Do-gether/blob/master/LICENSE.txt
)
file.
\ No newline at end of file
...
...
client/src/pages/LoginPage.js
View file @
e51a8bc
...
...
@@ -91,6 +91,12 @@ export default function LandingPage(props) {
}
};
const
checkEnter
=
()
=>
{
if
(
window
.
event
.
keyCode
==
13
){
handleLogin
();
}
}
return
(
<
div
className
=
{
classes
.
root
}
>
<
Paper
className
=
{
classes
.
paper
}
elevation
=
{
3
}
>
...
...
@@ -104,6 +110,7 @@ export default function LandingPage(props) {
onChange
=
{(
e
)
=>
{
setUserID
(
e
.
target
.
value
);
}}
onKeyUp
=
{
checkEnter
}
/
>
<
TextField
className
=
{
classes
.
pwInput
}
...
...
@@ -115,6 +122,7 @@ export default function LandingPage(props) {
onChange
=
{(
e
)
=>
{
setUserPW
(
e
.
target
.
value
);
}}
onKeyUp
=
{
checkEnter
}
/
>
<
Button
className
=
{
classes
.
signin
}
...
...
Please
register
or
login
to post a comment