mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris
689bd869ea
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Authentication
Are an email and a password asked for in the resgistration?
Does the project detect if the email or password are wrong?
Does the project detect if the email or user name is already taken in the registration?
Try to register as a new user in the forum.
Is it possible to register?
Try to login with the user you created.
Can you login and have all the rights of a registered user?
Try to login without any credentials.
Does it show a warning message?
Are sessions present in the project?
Try opening two different browsers and login into one of them. Refresh the other browser.
Can you confirm that the browser non logged remains unregistered?
Try opening two different browsers and login into both of them. Refresh both browsers.
Can you confirm that only one of those browsers has an active session?
Try opening two different browsers and login into one of them. Then create a new post or just add a comment. Refresh both browsers.
Does it present the comment/post on both browsers?
SQLite
Does the code contain at least one CREATE query?
Does the code contain at least one INSERT query?
Does the code contain at least one SELECT query?
Try registering in the forum, open the database with sqlite3 <database_name.db>
and perform a query to select all the users (Example: SELECT * FROM users;).
Does it present the user you created?
Try creating a post in the forum, open the database with sqlite3 <database_name.db>
and perform a query to select all the users (Example: SELECT * FROM post;).
Does it present the post you created?
Try creating a comment in the forum, open the database with sqlite3 <database_name.db>
and perform a query to select all the users (Example: SELECT * FROM comment;).
Does it present the comment you created?
Docker
Does the project have Dockerfiles?
Try to run the command "docker image build [OPTINS] PATH | URL | -"
to build the image using using the project Dockerfiles and run the command "docker images"
to see images.
student$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
<name of the image> latest 85a65d66ca39 7 seconds ago 795MB
Does all images build as above?
Try running the command "docker container run [OPTIONS] IMAGE [COMMAND] [ARG...]"
to start the containers using the images just created and run the command "docker ps -a"
to see containers.
student$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cc8f5dcf760f <name of the image> "./server" 6 seconds ago Up 6 seconds 0.0.0.0:8080->8080/tcp ascii-art-web