Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4c78a87
Merge branch 'create-crud-for-students' of https://github.com/devcare…
JudySeyram Nov 14, 2022
fb72927
Update models to use UUIDs
talktonok Nov 17, 2022
8c995a5
Merge branch 'development' of https://github.com/devcareer/class-mana…
talktonok Nov 17, 2022
4323f64
create seed files
talktonok Nov 17, 2022
4c63ed7
create seed files
talktonok Nov 17, 2022
c9012f7
chore(assignment crud):add crud endpoints for assignments
JudySeyram Nov 24, 2022
5aaadf4
create seeders
talktonok Nov 28, 2022
5b03465
feat(README.md restructure):restructure the README.md file
JudySeyram Nov 28, 2022
9d18b21
resolve conflicts
bellogo Nov 30, 2022
b9a869a
Merge branch 'development' of https://github.com/devcareer/class-mana…
talktonok Nov 30, 2022
d8db09a
update class student
talktonok Nov 30, 2022
593b1f5
seed database
talktonok Dec 1, 2022
68ec1b7
edit README.md
JudySeyram Dec 1, 2022
dac235d
Merge branch 'create-assignment-CRUD' of https://github.com/devcareer…
JudySeyram Dec 1, 2022
07d64b9
initial commit
JudySeyram Dec 1, 2022
8966bf3
install passport
talktonok Dec 1, 2022
f337418
install passport
talktonok Dec 1, 2022
825e2c4
user registration and login
talktonok Dec 2, 2022
fb53e2a
user registration and login
talktonok Dec 2, 2022
944e4aa
chore(upload assignment):add route for student assignment upload
Hazeem01 Dec 5, 2022
6fcb91f
email verification
talktonok Dec 5, 2022
855538f
testing
JudySeyram Dec 7, 2022
e611867
delete score files
JudySeyram Dec 10, 2022
631fb3c
correction
JudySeyram Dec 10, 2022
8f765ca
correction
JudySeyram Dec 10, 2022
35cd0ee
Authenticate verify users
talktonok Dec 12, 2022
26cb6fe
updating branch
JudySeyram Dec 12, 2022
27adfe6
Merge branch 'feat-authentication' of https://github.com/devcareer/cl…
JudySeyram Dec 12, 2022
2111b12
update
talktonok Dec 12, 2022
d3dad2a
Merge branch 'feat-authentication' of https://github.com/devcareer/cl…
JudySeyram Dec 12, 2022
801345d
assignment update
JudySeyram Dec 12, 2022
24b77af
fix error
talktonok Dec 13, 2022
a8bce88
fix error
talktonok Dec 13, 2022
6d79dee
Merge pull
talktonok Dec 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
PORT =
DBNAME=database
DBUSER=postgres
DBPASSWORD=password
PORT=5432
DBHOST=127.0.0.1
SECRETKEY=any_secret
JWT_SECRET=
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ pids
*.seed
*.pid.lock

# My DB config
src/api/db/config/config.js

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

Expand Down
73 changes: 61 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,62 @@
# Class Manager
### Introduction
<strong> More information coming soon ... </strong>

### Installation Guide
* Clone this repository [here](https://github.com/devcareer/class-manager.git).
* The main branch is the most stable branch at any given time, ensure you're working from it.
* Run <b>npm install</b> to install all dependencies
* Create an <b>.env</b> file in your project root folder and add your variables. See .env.example for assistance.
### Usage
* Run <b>npm watch:dev</b> to start the application.
### License
This project is available for use under the MIT License.

### The technologies used in creating this project are:
Node.js, ExpressJs, Sequelize ORM, and PostgreSQL

### :rocket: How to get started
- Make sure to have Git and Node.js installed on your computer
- Clone the project by running: `git clone https://https://github.com/devcareer/class-manager`
- cd into the project and run `npm install`
- create a `.env` file in the root folder and copy the content in the `.env.example`into it.
- run `npm run migrate` to migrate to the database.
- run `npm run migrate:undo` to undo migration.
- run `npm run seed` to seed the database.
- run `npm start` to start the project.

These are the HTTP response codes used in this project:
| Status Codes | Indication |
| --- | --- |
| `200` | This `OK` status code indicates that a request has succeeded |
| `400` | This `bad request error` status code indicates that the request sent to the server is incorrect |
| `404` | This `not found error` status code indicates that the resource is not found. |
| `500` | This `internal server error` status code indicates that something has gone wrong on the web server |

<hr>

The routes featured in this project:
| API routes(url) | Method | Description |
| --- | --- | --- |
| / | `GET` | Api home page |
| /messages | `GET` | Get all messages |
| /messages | `POST` | Create a message |
| /messages/id | `GET` | Get a message by id |
| /messages/id | `PUT` | Update message|
| /messages/id | `DELETE` | Delete message |
| /students | `GET` | Get all students |
| /students | `POST` | Create a student |
| /students/id | `GET` | Get a student by id |
| /students/id | `PUT` | Update student |
| /students/id | `DELETE` | Delete student |
| /teacher | `GET` | Get all teachers |
| /teacher | `POST` | Create a teacher |
| /teacher/id | `GET` | Get a teacher by id |
| /teacher/id | `PUT` | Update teacher |
| /teacher/id | `DELETE` | Delete teacher |
| /assignment | `GET` | Get all assignment |
| /assignment/id | `GET` | Get a assignment with id |
| /assignment/id | `PUT` | Update assignment |
| /assignment/id | `DELETE` | Delete assignment |

<hr>


👤 **Authors**:

| Github | Linkedin |
| ------------- | ------------- |
| [@bellogo](https://github.com/bellogo) | [Ufuoma Ogodo](https://ng.linkedin.com/in/ufuoma-ogodo) |
| [@judyseyram](https://github.com/JudySeyram) | [Judith Amegbe](https://gh.linkedin.com/in/amegbe-judith-5b881811a) |
| [@hazeem01](https://github.com/Hazeem01) | [Adenekan Abdulhazeem](https://www.linkedin.com/in/abdulhazeem-adenekan) |
| [@talktonok](https://github.com/talktonok) | [Mansur Ibrahim Nok](https://www.linkedin.com/in/mansuribrahimnok) |
| [@TijanAyo](https://github.com/TijanAyo) | [Tijani Ayomide](https://www.linkedin.com/in/tijanayo) |
| [@Ekemiben](https://github.com/ekemiben) | [Ekemini Ben](https://www.linkedin.com/in/ekemini-ben) |
Loading