Skip to content

CamiloLonM/ONG-Alkemy

 
 

Repository files navigation

Server Base - Proyecto ONG

Website of the ONG organization 'We are more'.

This App allows you to create an administrator user role to manage the site, select and update the information to be displayed in each section (news, activities, members, etc.) It allows you to create a common user role that has limited permissions and a section that informs people about activities, latest news, and testimonials. The site has public access so that anyone can visit the sections and find out about the ONG.

Envinroment setup

  1. Create database
  2. Copy .env.example to .env and fill with database credentials.

To install dependencies, run

npm install
  1. Migrations:
npx sequelize-cli db:migrate
  1. Seeders:
npx sequelize-cli db:seed:all

Start local server

npm start

Test Users

Password: Camaro66.

# Users with roleId = 1

    - punblo@gmail.com
    - erica@gmail.com
    - Jsp@gmail.com
    - hans@gmail.com
    - qvos@gmail.com
    - ren@gmail.com
    - hutt@gmail.com
    - atano@gmail.com
    - macewin@gmail.com
    - fett@gmail.com
# Users with roleId = 2

    - piter@gmail.com
    - sb@gmail.com
    - fwalkerb@gmail.com
    - padmedala@gmail.com
    - assajven@gmail.com
    - lando@gmail.com
    - jynso@gmail.com
    - jqui@gmail.com
    - caradune@gmail.com
    - badyoda@gmail.com

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Other 0.1%