You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This is the users service, a backend repository of the [CoderDojo Zen Community Platform](https://github.com/CoderDojo/community-platform) project. The service looks after the users section of the API (anything to do with retrieving data/information about users/admins).
10
6
11
-
This service requires it's own PostgreSQL database to run:
12
-
13
-
- using pgAdmin connect to PostgreSQL database:
14
-
-`docker ps` to make sure the PostgreSQL container is running
15
-
- use the `boot2docker ip` as the ip address (this is usually 192.168.59.103)
16
-
- user: postgres passwd: blank
17
-
- create a new database called `cp-users-development`
18
-
- next create a new user, right click on 'Login Roles' and select 'New Login Role'
19
-
(note: you need to create this new user only if you don't have it already)
20
-
- username: 'platform'
21
-
- password: 'QdYx3D5y'
22
-
- give the user All Role Privileges
23
-
24
-
## Configuration
25
-
26
-
Ensure configuration file for the running environment exists and has the correct options. Default environment is development, options read from `config/config.js` - environment overrides in `config/<environment>.env`.
27
-
28
-
## Run
29
-
30
-
Start Server:
31
-
32
-
`./start.sh development ./service.js`
7
+
If you want to get set up to make a backend contribution, please see the [cp-local-development repository](https://github.com/CoderDojo/cp-local-development).
33
8
9
+
General documentation is in the [community-platform repository](https://github.com/CoderDojo/community-platform).
0 commit comments