https://github.com/jonaxplanta/es2
Repository with codes and programs for Software Engineering 2.
https://github.com/jonaxplanta/es2
javascript jest softaware software-engineering testing
Last synced: 8 months ago
JSON representation
Repository with codes and programs for Software Engineering 2.
- Host: GitHub
- URL: https://github.com/jonaxplanta/es2
- Owner: JonaxPlanta
- Created: 2024-11-05T14:06:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-27T14:08:09.000Z (over 1 year ago)
- Last Synced: 2025-04-11T01:15:53.330Z (12 months ago)
- Topics: javascript, jest, softaware, software-engineering, testing
- Language: JavaScript
- Homepage:
- Size: 11.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## IFMS
#### Technical Course in Computer Science - 6th Period - Morning Class
#### Teacher: Ygo Brito - Student: João Flores
#### Anotations, Codes and Programs for Software Engineering 2 discipline
---
### Basics commands in Terminal
List the content of a diretory (file)
```
dir
```
Create a new diretory
```
mkdir
```
Remove an existing diretory
```
rmdir
```
Acess a file
```
cd
```
Cleans terminal
```
cls
```
Exit the file, returning one level
```
cd ..
```
Exit the file, returning to C: file
```
cd /
```
---
### Commands to create a Github repository using Terminal
Initiate the versioning
```
git init
```
Verify the project situation
```
git status
```
Add all untracked files
```
git add .
```
Add README markdown file
```
git add README.md
```
Execute a commit (update) with message
```
git commit -m "message"
```
Link the project to the main branch
```
git branch -M main
```
Execute a remote link to a GitHub repository
```
git remote add origin
```
Push all files to the main branch in repository
```
git push -u origin main
```
---
### Commands to update files in a Github repository
Add all files to upload to Github resository
```
git add .
```
Create a message to describe changes
```
git commit -m "message-to-add"
```
Push all files to Github repository
```
git push -u
```
Verifying if everything is in order
```
git status
```
---
### Commands to initiate a project using NodeJS
Initiate a project by providing data manually
```
npm init
```
Initiate a project using default data
```
npm init -y
```
### Commands to install Node dependences
Jest
```
npm install --save-dev jest
```