Skip to content

shanebrownescope/engr-science-teaching-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-SCoPe

E-SCoPE is a centralized educational platform tailored to professors seeking to access teaching materials.

Tech Stack

Run Project Locally

To install the project, follow these steps:

  1. Clone the repository
 git clone git@github.com:shanebrownescope/engr-science-teaching-resources.git 
  1. Create .env.local file in the root directory of the project and add the following environment variables:
# AWS RDS MySQL setup
HOST=
DB_USER=
DB_PASSWORD=
DB_NAME=

# AWS S3 setup
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET_NAME=

# Next.auth setup
AUTH_SECRET=

# Nodemailer setup
NODEMAILER_EMAIL=
NODEMAILER_PASSWORD=

# Other
SITE_URL=
TEAM_NAME=

You have to get your own AWS RDS, AWS S3, and Nodemailer information.

To generate AUTH_SECRET run:

npx auth secret

Or run openssl rand -base64 33 and add it to .env.local

  1. Install dependencies
npm install
  1. Run the development server
npm run dev
  1. Open http://localhost:3000 <> with your browser to see the result

Next.auth configuration for Next.js

Joining the community

Before users can login and use the site, they first have to sign up and get authenticated by our team.

Once approved or rejected, the user will get an email informing them and the user will be able to login and use the site if approved.

Contributing Information

Users that want to contribute to site will need to submit a form with the necessary details of the resources they want to add.

Our team will check and verify the information and will add once approved.

NOTE

This feature will be implemented soon. Users that want to contribute now can send an email to our team in the meantime.

Future Developers

The CONTRIBUTING.md file contains technical information about the project.